“Of course, we can still agree that too much, by definition, is not a good idea 
;)”

 

Thanks, that was my point. But my example was not appropriated. It occurs that 
I’ve misread MDN:

 

Source:  
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/set>
 
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/set

“If the following invariants are violated, the proxy will throw a  
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError>
 TypeError:”

But just below :

 

“In strict mode, a false return value from the set handler will throw a  
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError>
 TypeError exception.”

 

 

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

Reply via email to