Javascript is a very interesting language. It is used virtually everywhere and it has the biggest online community among all the other programming languages, seeing these facts an outsider who doesn’t know anything about javascript may assume that it’s the most perfectly written programming language ever.

But alas nothing is perfect and javascript is not an exception. If you ask any javascript developer to name one thing that can be done better in vanilla javascript and 9 out of 10 would say implicit type coercion.

What is Implicit Type Coercion?

Converting a value of one type to another is called type coercion. Javascript has a…


Before we start just a small disclaimer this blog is subjective and might have some inaccuracies please feel free to correct me down in the comments and also I’m keeping the technical stuff minimal.

Having gotten that out of the way let’s start by first knowing what is javascript.

What is javascript?

The Wikipedia definition goes like this:

JavaScript (/ˈdʒɑːvəˌskrɪpt/),[6] often abbreviated as JS, is a programming language that conforms to the ECMAScript specification.[7] JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.”

Now, that’s a lot of technical words and each word…

Muthu Kumaran

I'm a Techie, Travaler and a photographer!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store