Code

General Code

JavaScript Number Quirks

In JavaScript, as in other languages, there is a math method that we can use when working with and manipulating numbers. JavaScript does give us the ability to work with numbers directly in our variables, but there are some “quirks”. For example… You would expect the console to display 8.4, but it displays “8.399999999999999”, which

JavaScript Number Quirks Read More »