Member-only story

Javascript: Javascript Features

Eishta Mittal
2 min readMar 26, 2022

--

Features

  1. High-level
  2. Garbage-collected
  3. Interpreted and Just-in-time compilation
  4. Multi-paradigm
  5. Prototype based object oriented
  6. First class functions
  7. Dynamic
  8. Single-threaded

HIGH-LEVEL

  • Languages that need not worry about the resources management such as memory.
  • They allow the programmer to focus on what needs to be done, rather than on how the computer actually works.
  • Low-level language — example- C-> where memory is to be handled manually.

Garbage-collected

  • JavaScript utilises a form of automatic memory management known as garbage collection (GC).
  • V8 Engine internally uses Mark and Sweep Algorithm to free up space from the memory heap.
  • The garbage collector attempts to reclaim memory which was allocated by the program, but is no longer referenced — also called garbage.
  • JS Engine automatically removes the unused variables and things

Interpreted and Just-in-time compilation

--

--

Eishta Mittal
Eishta Mittal

Written by Eishta Mittal

Software Engineer passionate about Frontend Engineering

No responses yet