{"id":86,"date":"2019-10-20T13:57:19","date_gmt":"2019-10-20T12:57:19","guid":{"rendered":"http:\/\/www.derniercriweb.solutions\/bury-blog\/?p=86"},"modified":"2024-12-05T11:37:35","modified_gmt":"2024-12-05T11:37:35","slug":"javascript","status":"publish","type":"post","link":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/2019\/10\/20\/javascript\/","title":{"rendered":"Javascript"},"content":{"rendered":"\n<p style=\"background-color:#b3e75f\" class=\"has-background has-drop-cap\"><strong>JavaScript<\/strong>&nbsp;often abbreviated as&nbsp;<strong>JS<\/strong>, is a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/High-level_programming_language\">high-level<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Interpreted_language\">interpreted<\/a>&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Scripting_language\">scripting language<\/a>&nbsp;that conforms to the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/ECMAScript\">ECMAScript<\/a>&nbsp;specification. JavaScript has&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_programming_languages_by_type#Curly-bracket_languages\">curly-bracket syntax<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Dynamic_typing\">dynamic typing<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Prototype-based_programming\">prototype-based<\/a>&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming\">object-orientation<\/a>, and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/First-class_function\">first-class functions<\/a>.<\/p>\n\n\n\n<p style=\"background-color:#b3e75f\" class=\"has-background\">Alongside&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/HTML\">HTML<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/CSS\">CSS<\/a>, JavaScript is one of the core technologies of the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/World_Wide_Web\">World Wide Web<\/a>.<sup><a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript#cite_note-9\">[<\/a><\/sup>JavaScript enables interactive&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Web_page\">web pages<\/a>&nbsp;and is an essential part of&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Web_application\">web applications<\/a>. The vast majority of&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Website\">websites<\/a>&nbsp;use it, &nbsp;and major&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Web_browser\">web browsers<\/a>&nbsp;have a dedicated&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript_engine\">JavaScript engine<\/a>&nbsp;to execute it.<\/p>\n\n\n\n<p style=\"background-color:#b3e75f\" class=\"has-background\">As a multi-paradigm language, JavaScript supports&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Event-driven_programming\">event-driven<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Functional_programming\">functional<\/a>, and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Imperative_programming\">imperative<\/a>&nbsp;(including&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming\">object-oriented<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Prototype-based_programming\">prototype-based<\/a>)&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Programming_paradigm\">programming styles<\/a>. It has&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Application_programming_interface\">APIs<\/a>&nbsp;for working with text,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Array_data_type\">arrays<\/a>, dates,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Regular_expression\">regular expressions<\/a>, and the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Document_Object_Model\">DOM<\/a>, but the language itself does not include any&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Input\/output\">I\/O<\/a>, such as&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_network\">networking<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_storage\">storage<\/a>, or&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_graphics\">graphics<\/a>&nbsp;facilities. It relies upon the host environment in which it is embedded to provide these features.<\/p>\n\n\n\n<p style=\"background-color:#b3e75f\" class=\"has-background\">Initially only implemented&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Client-side\">client-side<\/a>&nbsp;in web browsers, JavaScript engines are now embedded in many other types of host software, including&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Server-side\">server-side<\/a>&nbsp;in web servers and databases, and in non-web programs such as word processors and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Portable_Document_Format\">PDF<\/a>&nbsp;software, and in runtime environments that make JavaScript available for writing mobile and desktop applications, including desktop widgets.<\/p>\n\n\n\n<p style=\"background-color:#b3e75f\" class=\"has-text-color has-background has-light-gray-color\">The terms&nbsp;<em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Vanilla_software\">Vanilla<\/a>&nbsp;JavaScript<\/em>&nbsp;and&nbsp;<em>Vanilla JS<\/em>&nbsp;refer to JavaScript not extended by any frameworks or additional libraries. Scripts written in Vanilla JS are plain JavaScript code.<\/p>\n\n\n\n<p style=\"background-color:#b3e75f\" class=\"has-background\">Although there are similarities between JavaScript and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Java_(programming_language)\">Java<\/a>, including language name,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Syntax_(programming_languages)\">syntax<\/a>, and respective&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Standard_library\">standard libraries<\/a>, the two languages are distinct and differ greatly in design. JavaScript was influenced by programming languages such as&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Self_(programming_language)\">Self<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Scheme_(programming_language)\">Scheme<\/a>.<sup><a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript#cite_note-13\">[13]<\/a><\/sup>&nbsp;The&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/JSON\">JSON<\/a>&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Serialization\">serialization<\/a>&nbsp;format, used to store&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_structure\">data structures<\/a>&nbsp;in&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_file\">files<\/a>&nbsp;or transmit them across&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_network\">networks<\/a>, is based on JavaScript<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript&nbsp;often abbreviated as&nbsp;JS, is a&nbsp;high-level,&nbsp;interpreted&nbsp;scripting language&nbsp;that conforms to the&nbsp;ECMAScript&nbsp;specification. JavaScript has&nbsp;curly-bracket syntax,&nbsp;dynamic typing,&nbsp;prototype-based&nbsp;object-orientation, and&nbsp;first-class functions. Alongside&nbsp;HTML&nbsp;and&nbsp;CSS, JavaScript is one of the core technologies of the&nbsp;World Wide Web.[JavaScript enables interactive&nbsp;web pages&nbsp;and is an essential part of&nbsp;web applications. The vast majority of&nbsp;websites&nbsp;use it, &nbsp;and major&nbsp;web browsers&nbsp;have a dedicated&nbsp;JavaScript engine&nbsp;to execute it. As a multi-paradigm language, JavaScript supports&nbsp;event-driven,&nbsp;functional, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[21,23,20,19],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-computing","tag-bury","tag-greater-manchester","tag-web-design","tag-web-development"],"_links":{"self":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":0,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}