Getting the Array Type in JavaScript: Convert to String Example