Herby Vojčík wrote:
You need (need in the sense "having readable construct to perform") .{...} with [[DefineOwnProperty]] not for "foo":"bar" (yes, there [[Put]] should happen

No, again: JSON theft attack possible again with [[Put]]. Declarative syntax is foo: bar. That means define not assign.

), but for dynamically adding concise methods and/or getters/setters to objects.

These need define, of course, but it's not correct to say that data properties can use assign under :-separated object-literal(-based) syntax.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to