JavaScript for ABAP Programmers - 1/7 Introduction
JavaScript was originally created as Mocha in 1995 by Brendan Eich at Netscape in 10 days and was renamed LiveScript and then JavaScript to complement Sun Microsystem's Java, though it is not the same as Java. It borrows elements from languages like Scheme and Perl. JavaScript is standardized by ECMA and various JavaScript engines like SpiderMonkey, Chakra, V8, and Nitro execute it client-side in browsers or server-side in implementations like HANA XSJS. The main differences between JavaScript and ABAP are that JavaScript is weakly typed, has lexical scope, treats functions as first-class citizens, uses prototypal inheritance, and allows both imperative and functional programming.
Introduction to JavaScript aimed at ABAP programmers presented by Chris Whealy.
JavaScript originated in 1995, initially named Mocha, later LiveScript, and finally JavaScript, causing confusion as it is not related to Java.
JavaScript incorporates concepts from various languages, evolving through influences from languages like Scheme and Perl.
JavaScript was standardized by ECMA in 1997 with several editions, including the latest versions in progress.
Execution of JavaScript requires engines, with popular implementations for both client-side (e.g., V8, SpiderMonkey) and server-side (e.g., Rhino, V8).
Key differences between ABAP and JavaScript highlight distinctions in typing, syntax, scoping, and programming paradigms.