# JavaScript

* Why is Javascript used, how does it run?
* Difference between Java and JavaScript.
* What is Scope?
* What are closures?
* Explain some higher order functions
* Data types in JavaScript.
* Name some libraries written in Javascript.
* What's the difference between a library & a framework?
*   State (if any) the error thrown by the following lines of code:

    ```
    const name = "";
    name = "John";
    console.log(name);
    ```
* What is meant by currying in Javascript?
* What do you understand by "syntactic sugar"?
* What are reference & primitive datatypes? Are arrays primitive or reference data types?
