Re: [heycam/webidl] More fixes for `undefined` (#965)

@ExE-Boss commented on this pull request.



> @@ -8304,9 +8303,9 @@ ECMAScript Array values.
         // Each element will be converted to a double by first calling ToNumber().
         // So the following call is equivalent to the previous one, except that
         // "hi" will be alerted before drawPolygon() returns.
-        a = [false, '',
-             { valueOf: function() { alert('hi'); return 100; } }, 0,
-             '50', new Number(62.5)];
+        a = [false, "",
+             { valueOf: function() { alert("hi); return 100; } }, 0,

This is missing a closing quote `"`:
```suggestion
             { valueOf: function() { alert("hi"); return 100; } }, 0,
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/965#pullrequestreview-627483206

Received on Saturday, 3 April 2021 20:05:50 UTC