DEV Community

Cover image for Intro to javascript
yogeshwaran
yogeshwaran

Posted on

1

Intro to javascript

Hi Everyone.

As i am brushing up my knowledge in Javascript and their frameworks. i have planned to post a series of posts what i have learned now and then. Follow the series for refresh your knowledge in javascript.


Javascript is a light weight, Cross platform, object oriented **scripting **language which primarily runs of web browsers and in servers.

Interpreted or compiled

Interpreted languages runs code from top to bottom and execute result immediately while compiled languages converts the code to binary format and execute it.

Javascript is a interpreted language but from a technical point most javascript interpreters use Just-in-time compilation to improve performance and faster execution of the javascript code.

Javascript engine

JavaScript engine is simply a computer program that executes JavaScript code. It is responsible for translating human-readable JavaScript code into machine-readable instructions that the computer's hardware can execute.

Old javascript engines are mere compilers but modern javascript engines like v8 use just-in-time compilation to improve performance.

Popular javascript engines are

  • *v8 *: Used in chrome and node
  • Spider monkey : Used in firefox browser
  • Javascript core : powered safari

Single threaded or multi threaded

It is a single threaded synchronous language which can execute only one command at a time in a specific order.

Client side or server side

javascript is initially a client side scripting language which runs mostly on browser. but now a days modern javascript runs on both Client (browsers), Server side(Node) and almost everywhere from desktop to mobile applications.

To be continued...

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more