Chris Connelly
663595ba94
Compile splats in arrays and function calls to ES2015 splats ( #4353 )
...
Rather than compiling splats to arrays built using `Array#concat`, splats
are now compiled directly to ES2015 splats, e.g.
f foo, arguments..., bar
[ foo, arguments..., bar ]
Which used to be compiled to:
f.apply(null, [foo].concat(slice.call(arguments), [bar]));
[foo].concat(slice.call(arguments), [bar]);
Is now compiled to:
f(foo, ...arguments, bar);
[ foo, ...arguments, bar ];
2016-11-06 08:30:04 -08:00
..
2013-06-02 10:57:18 +04:00
2016-11-06 08:30:04 -08:00
2015-08-27 22:16:13 +02:00
2016-11-02 08:51:26 -07:00
2011-04-23 13:35:15 -04:00
2016-10-25 22:26:13 -07:00
2013-03-18 11:46:54 +08:00
2015-02-10 23:35:39 -05:00
2016-09-20 23:06:44 +02:00
2015-02-03 19:05:07 +01:00
2016-06-10 08:58:18 +02:00
2016-11-02 08:51:26 -07:00
2015-01-05 15:40:04 -05:00
2013-04-12 17:50:45 +02:00
2016-09-20 23:33:19 +02:00
2015-05-01 12:02:03 +02:00
2016-10-25 22:26:13 -07:00
2016-10-25 22:26:13 -07:00
2015-02-07 21:50:41 +01:00
2013-06-02 10:57:18 +04:00
2015-02-05 17:23:03 +01:00
2011-01-03 04:17:00 -05:00
2016-10-23 08:37:51 -07:00
2016-10-23 09:41:46 +02:00
2016-10-26 08:59:43 -07:00
2016-03-06 11:41:48 +01:00
2016-09-29 19:02:00 +02:00
2016-03-06 11:41:48 +01:00
2012-01-25 19:47:03 -05:00
2016-10-09 14:45:25 -07:00
2011-06-02 01:49:28 -04:00
2015-02-05 17:23:03 +01:00
2016-10-21 09:56:25 -07:00
2016-09-20 23:33:19 +02:00
2013-04-23 05:42:37 +02:00
2015-02-23 16:39:05 -07:00
2016-06-02 09:04:58 +02:00
2015-09-27 15:54:44 +02:00
2016-09-26 17:14:31 +02:00
2016-09-14 20:46:05 +02:00