Does JavaScript Automatically Convert Types?

JavaScript is built to be innovative and smart. Some other languages aren’t built to auto-convert types to other types, so an expression can be easily evaluated. In JavaScript, it can automatically change numbers to strings and words to numbers as long as it’s in the appropriate setting. Take for example: JavaScript can automatically convert null … Read more

What is Infinity, -Infinity, and NaN Number Types in JavaScript? (EASY Explanation!)

There are 3 special types out there that are considered numbers but don’t actually behave as numbers. Infinity and -Infinity in JavaScript These are the positives and negatives of the concept of infinity. They can both be considered the same since a negative infinity translates into the concept of infinity as well. NaN in JavaScript … Read more

What Are Values in JavaScript? (6 Basic Types!)

What are values in JavaScript? Javascript has a concept called values. There are actually 6 fundamental value types: Numbers Strings Booleans Functions Objects Undefined You can invoke or call a JavaScript Value If you want to create a value, you simply have to invoke or call it. Of course, these values have to be stored … Read more