04:21 | <Jack Works> | what's the difference between Object.[[Apply]] and Object.[[Construct]]? |
04:22 | <Jack Works> | the only observable difference I can found is though subclassing Object |
04:22 | <Jack Works> | function O() {
if (new.target) return Reflect.construct(Object, arguments, new.target);
else return Reflect.apply(Object, this, arguments)
}
O(1) // Number { 1 }
new O(1) // O { }
Object(1) // Number { 1 }
new Object(1) // Number { 1 }
|
11:13 | <Rob Palmer> | Reminder: the 19-21 July plenary meeting includes the possibility of in-person attendance in San Francisco at Google's office, but you must register in advance for this. Right now there are 27 remaining places.
https://github.com/tc39/Reflector/issues/437
Further reminder: Please sign-up soon if you wish to attend July plenary in-person. There are 18 remaining places. |