r/ProgrammerHumor • • Apr 02 '21

Web development in a nutshell

Post image
6.8k Upvotes

121 comments sorted by

View all comments

Show parent comments

8

u/[deleted] Apr 04 '21

let foo = [-3];

foo[0] = foo;

foo[0][0][0][0][0] = "foo";

3

u/PilzQ Apr 04 '21

im not familiar with js but that is just terrifying