1 2 3 4 5 6 7 8 9 10 11 12
class NullProto { static m() { try { super.p = 0; } catch {} } } Object.setPrototypeOf(NullProto, null); for (var i = 0; i < 100; ++i) { NullProto.m(); }