JS Challenge questions

Ok, I am making this thread just for fun also helping JS beginners learning JS faster by asking series questions. I might learn a thing or two from you guys as well.

1/ What is JavaScript? Does it relate to Java? Is Javascript dynamic, interpreted or compile language? 

2/ What is ECMAScript? Does it relate to JS?

3/ What are the most popular JS libraries? what are the use of them?

4/ How many loops control statements in JS?

5/ What are the most popular JS frameworks? 

6/ What are the most popular JS servers?

7/ What type of scope the Javascript engine using?

I know some will use google but that is ok, it is part of learning everyone has to go through.
No Google. Doing the first reply. Spare me any mistakes, I still learn this baby.

1] JS as far as I know, is a programming language, not related to Java technically. JS has an interpreter as every scripting language, and it passes the whole code through twice before starting. I think it can have JIT compilation too, not sure though. I still learn this baby.

2] ECMAScript? Isn't that the standardization of JS?

3] JQuery is one. I believe that google might have a library for whatever the hell anyone wants to do with JS already made.

4] Let's see, we got for, forEach, while, do we have anything else?

5] Angular maybe... never checked it though.

6] I have no idea. After all I am still learning.

7] Same as 6
Oh that is cool. I can reveal question 7. JS engine uses Lexical scope In JS there are global scope, function scope, block scope and closure scope.
I assume that blocks are something like namespaces in java?
Yeah similar,  equivalent to Java methods. I forgot to mention another JS scope is closure scope. I believe Java 8 also have closure. Ok closure is equivalent to Java 8 lambda expression.
NodeJS, AngularJS, JQuery, Backbone, Ember, Sails


Those should all be popular frameworks.
Yeh those are populars.

Original thread: https://forums.rpgmakerweb.com/threads/js-challenge-questions.44368/