Getting Started With JavaScript

Содержание

Слайд 2

What Is JavaScript? JavaScript is a high level programming language used

What Is JavaScript?

JavaScript is a high level programming language used to

create interactive effects within web browsers
Can be used on the server and in more complicated environments that are not web based such as PDF docs, site-specific browsers and desktop widgets
Слайд 3

The JavaScript Language Scripting Language Interpreted Untyped Multi-Paradigm – Object-Oriented, Imperative, Functional

The JavaScript Language

Scripting Language
Interpreted
Untyped
Multi-Paradigm – Object-Oriented, Imperative, Functional

Слайд 4

What is ECMAScript? ECMAScript is a trademarked scripting-language specification and standard

What is ECMAScript?

ECMAScript is a trademarked scripting-language specification and standard
Standardized by

Ecma International
Implementations of ECMAScript include JavaScript, Jscript and ActionScript
Слайд 5

Versions ES5 - Standardized in 2009 implemented fairly completely in all

Versions

ES5 - Standardized in 2009 implemented fairly completely in all browsers
ES6

/ ES2015 – Partially implemented in most modern browsers
ES7 / ES2016 – Still being developed, can be used with additional tools
Слайд 6

JavaScript Syntax Set of rules for how JavaScript programs are built

JavaScript Syntax

Set of rules for how JavaScript programs are built
JavaScript uses

most of the usual instructions and syntax that many programming languages use
Variables, Expressions, Arrays, Objects, Loops, Conditionals, Comparisons, Switches, Functions
Слайд 7

JavaScript Output console.log(‘some value’) – Prints to console in browser or

JavaScript Output

console.log(‘some value’) – Prints to console in browser or terminal
window.alert()

– Displays in an alert box in the browser
document.write() – Display within