fix(38299): use string literals as keys to creating rest result (#38600)

This commit is contained in:
Alexander T
2020-05-20 23:52:52 +03:00
committed by GitHub
parent 68f8f22032
commit 4e945fbc98
6 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
// @target: es5
const { 0: a, ...b } = [0, 1, 2];