[Webkit-unassigned] [Bug 152537] [ES6] Arrow function. Default arguments in arrow functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 15:45:54 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=152537

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #269480|review?, commit-queue?      |review+, commit-queue-
              Flags|                            |

--- Comment #3 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 269480
  --> https://bugs.webkit.org/attachment.cgi?id=269480
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=269480&action=review

> LayoutTests/js/script-tests/arrowfunction-syntax.js:90
> +shouldBe("((x, y = 'default-value') => x + y)('input-value:')",'"input-value:default-value"');

you should add a test where you pass in:
- "undefined" for y
- anything that isn't undefined for y

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160121/a8221578/attachment.html>


More information about the webkit-unassigned mailing list