I was surprised to discover that in chrome at least this is valid:
  var obj = {};
  obj.__proto__ = undefined;
but this throws
   Object.setPrototypeOf(obj, undefined);

Is it intended?
jjb
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to