{"id":117,"date":"2017-05-03T05:24:14","date_gmt":"2017-05-03T05:24:14","guid":{"rendered":"http:\/\/blog.amt.in\/?p=117"},"modified":"2017-05-03T05:28:48","modified_gmt":"2017-05-03T05:28:48","slug":"introduction-to-javascript","status":"publish","type":"post","link":"https:\/\/blog.amt.in\/index.php\/2017\/05\/03\/introduction-to-javascript\/","title":{"rendered":"Introduction to JavaScript"},"content":{"rendered":"<p>JavaScript, often abbreviated as &#8220;JS&#8221;, is a high-level, dynamic, untyped, and interpreted\u00c2\u00a0run-time language. It has been standardized in the ECMAScript language specification.\u00c2\u00a0Alongside HTML and CSS, JavaScript is one of the three core technologies of World Wide Web\u00c2\u00a0content production; the majority of websites\u00c2\u00a0employ it, and all modern Web browsers support it without the need for plug-ins. JavaScript is prototype based\u00c2\u00a0with first class functions, making it a multi-paradigm\u00c2\u00a0language, supporting object-oriented,<span style=\"font-size: 14.1667px;\">\u00c2\u00a0imperative<\/span>, and functional programming styles.\u00c2\u00a0It has an API\u00c2\u00a0for working with text, arrays, dates and regular expressions, but does not include any I\/O, such as networking, storage, or graphics facilities, relying for these upon the host environment in which it is embedded.<\/p>\n<p>Although there are strong outward similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two are distinct languages and differ greatly in their design. JavaScript was influenced by programming languages such as Self\u00c2\u00a0and Scheme.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-119 alignleft\" src=\"http:\/\/blog.amt.in\/wp-content\/uploads\/2017\/05\/images.jpg\" alt=\"\" width=\"336\" height=\"188\" \/><\/p>\n<p>JavaScript is also used in environments that are not Web-based, such as PDF\u00c2\u00a0documents, site-specific browsers, and desktop widgets. Newer and faster JavaScript virtual machines\u00c2\u00a0(VMs) and platforms built upon them have also increased the popularity of JavaScript for server-side\u00c2\u00a0Web applications. On the client side, developers have traditionally implemented JavaScript as an interpreted\u00c2\u00a0language, but more recent browsers perform just-in-time compilation. Programmers also use JavaScript in video-game development, in crafting desktop and mobile applications, and in server-side network programming\u00c2\u00a0with run-time environments\u00c2\u00a0such as Node-js.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-120 alignleft\" src=\"http:\/\/blog.amt.in\/wp-content\/uploads\/2017\/05\/images-1.jpg\" alt=\"\" width=\"337\" height=\"193\" \/><\/p>\n<p>Microsoft script technologies including VBScript\u00c2\u00a0and JScript\u00c2\u00a0were released in 1996. JScript, a reverse-engineered implementation of Netscape&#8217;s JavaScript, was part of Internet Explorer 3 . JScript was also available for server-side scripting in Internet Information Server. Internet Explorer 3 also included Microsoft&#8217;s first support for CSS and various extensions to HTML, but in each case the implementation was noticeably different to that found in Netscape Navigator at the time. These differences made it difficult for designers and programmers to make a single website work well in both browsers, leading to the use of &#8220;best viewed in Netscape&#8221; and &#8220;best viewed in Internet Explorer&#8221; logos that characterized these early years of the browser wars. \u00c2\u00a0JavaScript began to acquire a reputation for being one of the roadblocks to a cross-platform and standards-driven Web. Some developers took on the difficult task of trying to make their sites work in both major browsers, but many could not afford the time.\u00c2\u00a0With the release of Internet Explorer 4, Microsoft introduced the concept of Dynamic HTML, but the differences in language implementations and the different and proprietary Document Object Models\u00c2\u00a0remained and were obstacles to widespread take-up of JavaScript on the Web.<\/p>\n<p>JavaScript has become one of the most popular programming languages on the Web. Initially, however, many professional programmers denigrated the language because, among other reasons, its target audience consisted of Web authors and other such &#8220;amateurs&#8221;.\u00c2\u00a0The advent of Ajax\u00c2\u00a0returned JavaScript to the spotlight and brought more professional programming attention. The result was a proliferation of comprehensive frameworks and libraries, improved JavaScript programming practices, and increased usage of JavaScript outside Web browsers, as seen by the proliferation of server-side JavaScript\u00c2\u00a0platforms.<\/p>\n<p>In January 2009, the CommonJS\u00c2\u00a0project was founded with the goal of specifying a common standard library mainly for JavaScript development outside the browser.<\/p>\n<p>With the rise of single-page applications\u00c2\u00a0and JavaScript-heavy sites, it is increasingly being used as a compile target for source-to-source compilers\u00c2\u00a0from both dynamic languages\u00c2\u00a0and static languages.<\/p>\n<p>The above mentioned is a brief about \u00c2\u00a0JavaScript.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript, often abbreviated as &#8220;JS&#8221;,<\/p>\n","protected":false},"author":1,"featured_media":118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,31,7],"tags":[],"class_list":["post-117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","category-js","category-techtrends"],"_links":{"self":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":3,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/posts\/117\/revisions\/123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/media\/118"}],"wp:attachment":[{"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.amt.in\/index.php\/wp-json\/wp\/v2\/tags?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}