Learn Beginner


Welcome to the new article about what actual JS (JavaScript) is?

Hello Learner,

As we all know JS stands for JavaScript.

It is a lightweight, cross-platform, an interpreted scripting language. It is well-known for the development of web pages, many non-browser environments also use it.

JavaScript can be used for Client-side developments as well as Server-side developments. JavaScript contains a standard library of objects, like Array, Date, and Math, and a core set of language elements like operators, control structures, and statements.

JS version release year chart:

Source: GeeksforGeeks

JS Structure:

<script type="text/javascript">  
    // Your javaScript code 

Characteristics of JS:

  • Dynamically typed languages: This language can receive different data types over time.
  • Case Sensitive Format: JavaScript is case sensitive so you have to aware of that.
  • Light Weight: It is so lightweight, and all the browsers are supported by JS.
  • Handling: Handling events is the main feature of JS, it can easily response on the website when the user tries to perform any operation.
  • Interpreter Centered: Java Script is built with interpreter centered that allows the user to get the output without the use of the compiler.

Advantages of JS:

  • JavaScript executed on the user’s browsers not on the webserver so it saves bandwidth and load on the webserver.
  • The JavaScript language is easy to learn it offers syntax that is close to the English language.
  • In javaScript, if you ever need any certain feature then you can write it by yourself and use an add-on like Greasemonkey to implement it on the web page.
  • It doe’s not require compilation process so no compiler is needed user’s browsers do the task.
  • JavaScript is easy to debug, and there are lots of frameworks available that you can use and become master on that.

Disadvantages of JS:

  • JavaScript codes are visible to the user so the user can place some code into the site that compromises the security of data over the website. That will be a security issue.
  • All browsers interpret JavaScript that is correct but they interpret differently to each other.
  • It only supports single inheritance, so in few cases may require the object-oriented language characteristic.
  • A single error in code can totally stop the website’s code rendering on the website.
  • JavaScript stores number as a 64-bit floating-point number but operators operate on 32-bit bitwise operands.

Thank you for reading, and let’s connect!

Thank you for reading my blog, feel free to subscribe to my email newsletter, and ask questions and give your valuable suggestions.

Hiren Vaghasiya

Hiren is an avid technical geek and blog lover. Now a high time tech blogger here, along with Freelancer, Web Designer, Digital Marketer & Sales Funnel Specialist.

Add comment

Learn Beginner

Don't be shy, get in touch. We love meeting interesting learners and making the world's best developers.