- V8 – engine used in Opera & Chrome.
- SpiderMonkey – engine used in Firefox.
- Trident, Chakra – engine used in IE & Nitro.
- ChakraCore – engine used in Microsoft Edge.
- SquirrelFish – engine used in Safari.
- Heap Memory— this is where the allocation of memory happens.
- Call Stack — this is the place where the stacks are getting called and the code executes.
- If the browser reads the script then the engine is embedded in the browser itself.
- After reading the script it converts (“compiles”) the script to the machine language.
- And then the machine code runs, pretty fast.
- It changes the existing content, modifies styles by adding new HTML to the pages.
- Provides functions like a mouse click, mouse hover, etc. which reacts to the actions of the use.
- Send and Receive requests over the network to remote servers, without loading the complete page as the user inputs. One such technology which is very famous is AJAX.
- Also can store temporary data on client side.
- As we all know it is an object-based scripting language.
- It is written in C. It is an interpreted language.
- It can also handle date and timestamp.
- It can also detect the user’s browser and even OS.
- It is lightweight.
- It is a scripting language as already stated.
- It is an interpreter based scripting language.
- It is case sensitive i.e. syntax is case sensitive.
- It is object-based language as it provides predefined objects like Java but it is not java.
- Full support for HTML and CSS.
- It is very easy to use.
- Supports for all browsers.
- It does not provide any functionality like multithreading or multiprocessor.
4.5 (1,326 ratings)