Closed
Bug 1235455
Opened 10 years ago
Closed 9 years ago
Calling a higher order function returns "function a/<()"
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: giul.mus, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151208100201
Steps to reproduce:
I ran the following code in the Javascript console:
var a = b => c => c; /* (or equivalently a = function(b) { return function(c) { return c; }} */
a(1);
Actual results:
The console returned "function a/<()", which is a syntax that I'm completely unaware of.
Expected results:
I expected the result to be something like "function()" or "function a()".
Component: JavaScript Engine → Developer Tools: Console
Product: Core → Firefox
Version: 43 Branch → Trunk
Comment 1•10 years ago
|
||
fwiw, the naming rule itself is described in bug 433529 comment #7 and bug 433529 comment #9.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•