Program Execution & Hello World: What Do I Have to Do to Get a Program Running?
摘要
JavaScript programs are usually part of web pages. So, to get a program to work, we first need to look at how you can embed it in a web page. This chapter discusses some HTML basics you’ll need and shows the various ways you can connect an HTML web page to your JavaScript code. Along the way, you’ll write your first “Hello World” program in JavaScript.