750 Views
When learning JavaScript, we all stumble across the phrase "Arrays are just Objects in JavaScript". Today, we're going to put that statement under the microscope. let groceries = ["apples"]console.log(typeof groceries) // Logs "object" Looking at the code it is quite obvious that an array is of type object.
0 comments