[Webkit-unassigned] [Bug 171041] New: Cannot declare a let variable twice: 'e'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 19 22:17:54 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=171041
Bug ID: 171041
Summary: Cannot declare a let variable twice: 'e'
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: macOS 10.12
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rob at stutton.net
I wouldn't write code like this (below) myself, but it was emitted by the minifier and so my app doesn't work in Safari, or Safari TP.
The code looks legal to me ...
let e = e => {
console.log(e);
for (let e of [1, 2, 3]) // Cannot declare a let variable twice: 'e'.
console.log(e);
};
--
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/20170420/03fa3086/attachment.html>
More information about the webkit-unassigned
mailing list