r/shittyprogramming • • Mar 10 '23

Javascript is hard sometimes

Post image
504 Upvotes

64 comments sorted by

View all comments

Show parent comment

3

u/HINDBRAIN Mar 11 '23

Isn't that operator a bit clunky? You could just

Object.keys.apply(null,"Hello World".split())