Intro Flashcards
What does ECMA mean?
European Computer Manufacturer’s Association
What is an expression?
A phrase of JS that can be evaluate to produce a value.
Näiteks operators
Why is JS the most deployed programming language?
The majority of websites use Js and all modern web browsers include JS interpreters.
Why is JS the most used programming language?
Because of Node - it enables to use JS outside the web browser
Explain why JavaScript is a high-level, dynamic, interpreted programming language that is well-suited to object-oriented and functional programming styles.
High level - human readable and easy to understand.
Dynamic - it allows for changes and adjustments to happen when the program is running.
Interpreted - the code is interpreted line by line, rather than being compiled into machine code before execution.
Object-Oriented Programming (OOP): JavaScript supports OOP principles such as encapsulation, inheritance, and polymorphism.
Functional Programming (FP): JavaScript also supports functional programming concepts such as higher-order functions, first-class functions, and closures.
Who created JS?
Brendan Eich in 1995
Why was JS created?
To add interactivity and dynamic behaviour to Netscape Navigator.
ES6 was released in 2015 and added major new features — including class and module syntax. What did this do to the JS language?
It turned it into a serious, general propose language suitable for large scaling software engineering.
How can you automatically create strict mode in ES6?
Using the keyword class or creating a module. All the code within the class or module is automatically strict.
What access gives node to JS
To the entire operating system.
Allowing js programs to read and write files
Send and receive data over network
Make and serve HTTP requests