ملاحظات الإصدار مكتوبة بالإنجليزية.
Proxy interceptors and strict-mode write errors match the standard
Two more corners of the language brought in line with the standard. Programs that use JavaScript's Proxy feature to intercept how an object is inspected or changed now have those interceptors honored for every standard operation, not just some, so the reactive-data and virtualization libraries built on it behave correctly. And in strict mode, an assignment the standard says cannot succeed, writing to a read-only or frozen property or adding one to a sealed object, now reports a clear error instead of failing silently, exactly as other browsers do. Ordinary code that was already correct is unchanged. The JavaScript language aspect moves 92 to 93; the overall platform score stays at 70.
ما الذي تغيّر
3 تغييرات- JavaScript و JITProxy interceptors are honored for every operation. A Proxy's handler can now intercept inspecting a property's definition, changing it, reading or setting an object's prototype, and querying or locking its extensibility, matching the operations it could already intercept, so libraries that build reactive data or virtual objects on Proxy work correctly.
- العرضStrict mode reports impossible writes. In strict mode, assigning to a read-only or frozen property, or adding a property to a sealed object, now reports a clear error the moment it happens, as the standard requires and every other browser does, instead of silently doing nothing. Code outside strict mode is unaffected.
- العرضStrictness follows the code that contains it. A function written inside strict code is now correctly treated as strict itself, so the rules above apply consistently wherever the code actually runs.















