Introduction to Eloquent Javascript
Introduction to Javascript.
Eloquent Javascript
Chapter-1
Javascript is built into every modern web browser and is available on almost every device. A sample program in javascript looks like.
let total = 0, count = 1;
while (count <= 10){
    total + = count;
    count + = 1;
}
console.log(total);
// -> 55
the same program can also be written as
console.log(sum(range(1,10)));
// -> 55
Javascript was introduced in 1995, as a way to add programs to webpages in Netscape Navigator browser. Javascript is now mostly used in traditional websites to provide various forms of interactivity and cleverness. Javascript is nothing related to java and it was marketing decision to name it similar to highle popular java language. ECMA script standard maintains javascript standards. Javascript are not only used by web browsers but also by databases such as MongoDB and CouchDB use javascript as scripting and query language.