[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-40219-en":3,"doc-seo-40219-105":29,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},40219,16904993612988,"Olivia Brown","https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd",6,"Technology","Chapter08 JavaScript1 Language Fundamentals","Chapter 8 introduces JavaScript language fundamentals in the context of web development. It explains what JavaScript is, outlines its history from its 1996 introduction in Netscape Navigator, and connects the language to ECMAScript evolution, including ES6/ES2015. The chapter also describes JavaScript’s role in Web 2.0, including AJAX as an acronym and general term, and previews later coverage. It further shows where JavaScript can live in HTML via inline, embedded, and external forms, then covers dynamic typing and the use of the var keyword for variable declarations.","Chapter 8  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development  \n© 2017 Pearson [http://www.funwebdev.com](http://www.funwebdev.com)  \nJavaScript 1: Language Fundamentals  \nWhat is JavaScript & What Can It Do?  \nJavaScript’s History  \n• JavaScript was introduced by Netscape in their Navigator browser back in 1996  \n• JavaScript that is supported by your browser contains language features  \n• not included in the current ECMAScript specification and  \n• missing certain language features from that specification  \nThe latest version of ECMAScript is the Sixth Edition (generally referred to as ES6 or ES2015 ) .  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \nWhat is JavaScript & What Can It Do?  \nJavaScript and Web 2.0  \n• Early JavaScript had only a few common uses:  \n• 2000s onward saw more sophisticated uses for JavaScript  \n• AJAX as both an acronym and a general term  \n• Chapters 10 and 19 will cover AJAX in much more detail.  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \nWhere Does JavaScript Go?  \nInline JavaScript  \nInline JavaScript refers to the practice of including JavaScript code directly within certain HTML attributes  \n\u003Ca href =\"JavaScript:OpenWindow();\">more info\u003C/a>\u003Cinput type=\"button\" onClick=\"alert('Are you sure?'); \" />  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \nWhere Does JavaScript Go?  \nEmbedded JavaScript  \nEmbedded JavaScript refers to the practice of placing JavaScript code within a \u003Cscript> element  \n\u003Cscript type=\"text/javascript\">  \n/ * A JavaScript Comment */  \nalert(\"Hello World!\");  \n\u003C/script>  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \nWhere Does JavaScript Go?  \nExternal JavaScript  \nexternal JavaScript files typically contain function definitions, data definitions, and entire frameworks.  \n\u003Chead>  \n\u003Cscript type=\"text/javascript\" src =\"greeting.js\">\u003C/script>  \n\u003C/head>  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \nVariables and Data Types  \nVariables in JavaScript are dynamically typed  \nThis simplifies variable declarations, since we do not require the familiar data-type identifiers  \nInstead we simply use the var keyword  \nRandy Connolly and Ricardo Hoar Fundamentals of Web Development-2nd Ed.  \n![image](https://weboffic","cbCaia3xJAiv1WzR","https://ap.wps.com/l/cbCaia3xJAiv1WzR","pdf",1933240,1,46,"English","en",105,"# What is JavaScript & What Can It Do?\n## JavaScript’s History\n## JavaScript and Web 2.0\n# Where Does JavaScript Go?\n## Inline JavaScript\n## Embedded JavaScript\n## External JavaScript\n# Variables and Data Types","[{\"question\":\"When was JavaScript introduced, and by whom?\",\"answer\":\"JavaScript was introduced by Netscape in their Navigator browser in 1996.\"},{\"question\":\"What is ECMAScript, and what version is referenced as ES6/ES2015?\",\"answer\":\"ECMAScript defines language features supported by browsers. The latest version mentioned is the Sixth Edition, referred to as ES6 or ES2015.\"},{\"question\":\"Where can JavaScript code be placed in a web page?\",\"answer\":\"JavaScript can be included inline within HTML attributes, embedded inside a \\u003cscript\\u003e element, or placed in external JavaScript files referenced by a script tag.\"}]",1783306973,116,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":27},"chapter08-javascript1-language-fundamentals","",{"@graph":35,"@context":84},[36,53,67],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/technology/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/chapter08-javascript1-language-fundamentals/40219/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":61,"encodingFormat":60,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-06",true,{"@type":64,"interactionType":65,"userInteractionCount":4},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"When was JavaScript introduced, and by whom?","Question",{"text":74,"@type":75},"JavaScript was introduced by Netscape in their Navigator browser in 1996.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"What is ECMAScript, and what version is referenced as ES6/ES2015?",{"text":79,"@type":75},"ECMAScript defines language features supported by browsers. The latest version mentioned is the Sixth Edition, referred to as ES6 or ES2015.",{"name":81,"@type":72,"acceptedAnswer":82},"Where can JavaScript code be placed in a web page?",{"text":83,"@type":75},"JavaScript can be included inline within HTML attributes, embedded inside a \u003Cscript> element, or placed in external JavaScript files referenced by a script tag.","https://schema.org",{"og:url":51,"og:type":86,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":88,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,104,109,112,117,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":101,"show_sort_weight":102,"slug":103},"Exam",70,"exam",{"id":105,"doc_module":4,"doc_module_name":45,"category_name":106,"show_sort_weight":107,"slug":108},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":110,"slug":111},50,"technology",{"id":113,"doc_module":4,"doc_module_name":45,"category_name":114,"show_sort_weight":115,"slug":116},7,"Healthcare",40,"healthcare",{"id":118,"doc_module":4,"doc_module_name":45,"category_name":119,"show_sort_weight":120,"slug":121},8,"Research & Report",30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":105,"slug":137},19,"General","general"]