test262 icon indicating copy to clipboard operation
test262 copied to clipboard

Issue follow up: function on top

Open leobalter opened this issue 4 years ago • 2 comments

For this + other tests that do f(), I think we need to make sure f is a function — otherwise Web-compatible engines produce a ReferenceError which is not what the test is about.

Adding a line above that function f() {} might be sufficient. WDYT?

Originally posted by @mathiasbynens in https://github.com/tc39/test262/pull/3161#discussion_r692777838

leobalter avatar Aug 26 '21 14:08 leobalter

@mathiasbynens @rwaldron I created this to avoid losing track again as the referred PR is closed.

leobalter avatar Aug 26 '21 14:08 leobalter

Thank you!

mathiasbynens avatar Aug 27 '21 08:08 mathiasbynens