Type coercion in JavaScript refers to the conversion of one type to another, either explicitly or implicitly. JavaScript is known for being a loosely typed language (sometimes referred to as 'weakly ...
Javascript isn't even duck-typed it simply tries to ignore type as much as possible by taking the remarkably egalitarian attitude that (nearly) everything is an object. The first thing to get straight ...