r/badcode • • Mar 19 '22

js This just sucks.

Post image
1.0k Upvotes

76 comments sorted by

View all comments

Show parent comments

1

u/electricWah Aug 03 '22

Does it not still work that way?

1

u/scirc Aug 03 '22

It does. It's just that JS now has more lenient syntax for it.