Files
ValueScript/inputs/passing/stringIteration.ts
2023-05-30 10:46:33 +10:00

13 lines
222 B
TypeScript

// test_output! ["🚀","🍹","a","b","c","£","한","🎨"]
export default function () {
const str = "🚀🍹abc£한🎨";
let outputs = [];
for (const c of str) {
outputs.push(c);
}
return outputs;
}