Does Object.seal always prevent hidden class mutation in JS VMs?
-
-
Replying to @bradleymeck
I'd be shocked. A hidden class is far more involved than just a list of public JavaScript properties.
1 reply 0 retweets 3 likes -
Replying to @wycats
Idk, internal/private fields arent generally added after allocation
2 replies 0 retweets 0 likes -
Replying to @bradleymeck
But hidden classes include other type information, and implementations may use hidden class transitions to model WeakMaps.
1 reply 0 retweets 0 likes
Replying to @wycats @bradleymeck
I guess the point I'm making is that Object.seal is a way to prevent semantically observable extensions, while hidden classes are impl
4:47 PM - 14 Jul 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.