Skip to content

Commit c83d26c

Browse files
author
Kevin Smith
committed
[MERGE #6130 @zenparsing] Unflag object rest/spread
Merge pull request #6130 from zenparsing:enable-obj-rest-spread For reference: - Object spread PR: #5268 - Object rest PR: #5498 The functionality is implemented in the JIT using helper calls. For destructuring rest, it uses GC'd arrays for tracking which computed property names have already been pulled out of the object. A PR exists for updating our fuzzers to generate the new syntax.
2 parents cafc256 + 9bf941c commit c83d26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Common/ConfigFlagsList.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ PHASE(All)
659659
#define DEFAULT_CONFIG_ES6Spread (true)
660660
#define DEFAULT_CONFIG_ES6String (true)
661661
#define DEFAULT_CONFIG_ES6StringPrototypeFixes (true)
662-
#define DEFAULT_CONFIG_ES2018ObjectRestSpread (false)
662+
#define DEFAULT_CONFIG_ES2018ObjectRestSpread (true)
663663

664664
#ifndef DEFAULT_CONFIG_ES6PrototypeChain
665665
#ifdef COMPILE_DISABLE_ES6PrototypeChain

0 commit comments

Comments
 (0)