Las notas de versión están escritas en inglés.
The Reflect toolkit validates its target like the standard
Another corner of JavaScript's built-in tools brought in line with the standard. The Reflect toolkit, which programs use to inspect and change objects in a controlled way, now reports a clear error the moment one of its operations is aimed at something that is not an object, exactly as every other browser does, instead of quietly doing nothing or the wrong thing. This covers reading, checking, changing, defining and removing properties, and reading or adjusting an object's prototype and whether it can grow. The toolkit also now identifies itself by name when inspected. Code that was already correct is unchanged. The JavaScript language aspect moves 95 to 96; the overall platform score stays at 70.
Qué cambió
3 cambios- JavaScript y JITReading and checking properties reject a non-object. When a program uses the controlled toolkit to read a property, ask whether one exists, or list what an object has, aiming it at a plain number, text, or other non-object now reports a clear error the way the standard requires, instead of silently answering as if nothing were wrong.
- JavaScript y JITChanging, defining and removing properties do the same. The operations that set, define, or delete a property, and those that read or adjust an object's prototype or whether it can still grow, now also reject a non-object target with a clear error rather than quietly doing nothing.
- RenderizadoThe toolkit identifies itself by name. Inspecting what kind of thing the toolkit is now returns its proper name, so code that checks this recognizes it correctly.








































