js how to check if something is an array code example Example: js check if is array if(Array.isArray(colors)){ //colors is an array }