« * K @dherman.dev

Dave Herman @dherman.dev

2026-11-25 14:25 UTC

But also it means your program can change behavior if a standards committee adds new methods to the inheritance hierarchy of your objects! 😱 let x = 42; with ([1, 2, 3]) { console.log(x) } Does this print 42? Depends if TC39 bureaucrats happened to add a method called x to Array.prototype ☠️

A reply in a thread.

8 likes, 0 reposts, 1 replies

3 Next post4 More from @dherman.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup