@@ -3,11 +3,13 @@ import { DESCRIPTORS } from '../helpers/constants.js';
33
44import defineProperty from 'core-js-pure/actual/object/define-property' ;
55import from from 'core-js-pure/es/array/from' ;
6- import Symbol from 'core-js-pure/full/symbol' ;
6+ import assign from 'core-js-pure/es/object/assign' ;
7+ import create from 'core-js-pure/es/object/create' ;
8+ import Symbol from 'core-js-pure/es/symbol' ;
79import zipKeyed from 'core-js-pure/full/iterator/zip-keyed' ;
810
911function nullProto ( obj ) {
10- return Object . assign ( Object . create ( null ) , obj ) ;
12+ return assign ( create ( null ) , obj ) ;
1113}
1214
1315QUnit . test ( 'Iterator.zipKeyed' , assert => {
@@ -61,15 +63,15 @@ QUnit.test('Iterator.zipKeyed', assert => {
6163 }
6264
6365 {
64- const result = zipKeyed ( {
66+ const $ result = zipKeyed ( {
6567 a : [ 0 , 1 , 2 ] ,
6668 b : [ 3 , 4 , 5 , 6 , 7 ] ,
6769 c : [ 8 , 9 ] ,
6870 } , {
69- mode : " longest" ,
71+ mode : ' longest' ,
7072 } ) ;
7173
72- assert . deepEqual ( from ( result ) , [
74+ assert . deepEqual ( from ( $ result) , [
7375 nullProto ( { a : 0 , b : 3 , c : 8 } ) ,
7476 nullProto ( { a : 1 , b : 4 , c : 9 } ) ,
7577 nullProto ( { a : 2 , b : 5 , c : undefined } ) ,
@@ -79,16 +81,16 @@ QUnit.test('Iterator.zipKeyed', assert => {
7981 }
8082
8183 {
82- const result = zipKeyed ( {
84+ const $ result = zipKeyed ( {
8385 a : [ 0 , 1 , 2 ] ,
8486 b : [ 3 , 4 , 5 , 6 , 7 ] ,
8587 c : [ 8 , 9 ] ,
8688 } , {
87- mode : " longest" ,
89+ mode : ' longest' ,
8890 padding : { a : 'A' , b : 'B' , c : 'C' } ,
8991 } ) ;
9092
91- assert . deepEqual ( from ( result ) , [
93+ assert . deepEqual ( from ( $ result) , [
9294 nullProto ( { a : 0 , b : 3 , c : 8 } ) ,
9395 nullProto ( { a : 1 , b : 4 , c : 9 } ) ,
9496 nullProto ( { a : 2 , b : 5 , c : 'C' } ) ,
0 commit comments