haikuwebkit/LayoutTests/js/script-tests/arrowfunction-asparamter-1.js

6 lines
178 B
JavaScript

description('Tests for ES6 arrow function, passing arrow function as the paramter');
shouldBe('"" + [1, 2, 3, 4].map(x => x, 32)', "'1,2,3,4'");
var successfullyParsed = true;