Skip to content
Related Articles

Related Articles

Improve Article

Interesting Facts About Javascript

  • Last Updated : 14 Jan, 2019

JavaScript (abbreviated as JS), is a interpreted, high-level programming language that conforms to the ECMAScript specification. This language is also characterized as weakly typed, dynamic, multi-paradigm and prototype-based .

Here are some interesting facts about javascript:

  1. Along with HTML an CSS, JavaScript is one of the three main things of the www (World Wide Web). It enables interactive web pages and thus is an essential part of web applications. A majority of websites use it and all major web browsers have a devoted JavaScript engine to execute it.
  2. JavaScript is single threaded. This is the reason lots of people who use multi-threaded programming thinks its working is slow as it would not be able to make use of all the cores of the CPU properly.
  3. Despite the fact that there are similarities between JavaScript and Java, including language name, respective standard libraries and syntax, these two languages are distinct and differ significantly in design.
  4. Like all other scripting languages, arrays and objects can be created with a brief shortcut syntax. These literals structure the basis of JSON data format.
  5. JavaScript supports regular expressions in a manner similar to Perl, which provides a concise and powerful syntax for text manipulation that is more sophisticated than the built-in string functions.
  6. There is a CSRF attack known as “JavaScript hijacking” in which a tag on an attacker’s site damages a page on the victim’s site that returns private information such as JavaScript or JSON (Reference: Wikipedia)
  7. JavaScript is supported by all modern Web browsers with the built-in interpreters.
My Personal Notes arrow_drop_up
Recommended Articles
Page :