Seems to be fixed in Firefox 26.
Operators and valueOf with ES6 proxies (Firefox)
-
29-08-2022 - |
Pregunta
I run the following code:
var x = new Proxy({}, {
get: function(target, name) {
console.log(name);
return target[name];
}
});
var y = x + 5;
Why isn't 'valueOf'
printed in console (in Firefox 24)?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow