Edit & Run
JavaScript automatically converts an array to a string when a primitive value is expected.