define an array in js code example Example: javascript to array Array.from("Hello"); // ["H", "e", "l", "l", "o"]