This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
Web reality #17
Open
Description
In all of {V8, SpiderMonkey, JavaScriptCore, Chakra}, the snippet
(function /**/ \u0061 /**/ ( /**/ ) { /**/ }).toString()
produces
function a( /**/ ){ /**/ }
which differs from this proposal's required
function /**/ \u0061 /**/ ( /**/ ){ /**/ }
The same occurs for function declarations. It appears that all browsers save only the source text from the parameters onwards, and synthesize text appearing prior to them.
😢
Metadata
Metadata
Assignees
Labels
No labels