[Webkit-unassigned] [Bug 212679] New: Logical Assignment: perform NamedEvaluation of anonymous functions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 2 18:52:33 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212679
Bug ID: 212679
Summary: Logical Assignment: perform NamedEvaluation of
anonymous functions
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: drousso at apple.com
Depends on: 209716
```
let foo = null;
foo ??= function() {};
console.log(foo.name); // should be "foo", but is currently ""
```
which matches the functionality of regular assignments
```
let foo = function() {};
console.log(foo.name); // "foo"
```
Issue: <https://github.com/tc39/proposal-logical-assignment/issues/23>
PR: <https://github.com/tc39/proposal-logical-assignment/pull/24>
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=209716
[Bug 209716] [ESNext] Implement logical assignment operators
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200603/43a5f426/attachment.htm>
More information about the webkit-unassigned
mailing list