JavaScript wat
up:: JavaScript
Rounding errors in floats
console.log(.1 + .2); // 0.30000000000000004
The Floating-Point Guide - Basic Answers
The .length
of an array is the last index plus one
let myArray = [];
myArray.length // 0
myArray[1000] = true;
myArray.length // 1000
// myArray contains one property