Introduction
Working with arrays in JavaScript is a common activity. Sometimes we get a variable in JavaScript that we need to be an array, but we aren't sure that it is.
Non-primitive data types in JavaScripts are all objects (functions have their own type, but they too are objects). As