File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ var clear = require('es5-ext/object/clear')
8
8
, iterator = require ( 'es6-iterator/valid-iterable' )
9
9
, forOf = require ( 'es6-iterator/for-of' )
10
10
, isNative = require ( '../is-native-implemented' )
11
- , Map = require ( '../polyfill' )
11
+ , MapPolyfill = require ( '../polyfill' )
12
12
, Iterator = require ( '../lib/primitive-iterator' )
13
13
14
14
, call = Function . prototype . call
@@ -47,9 +47,9 @@ module.exports = PrimitiveMap = function (/*iterable, serialize*/) {
47
47
} ) ;
48
48
return self ;
49
49
} ;
50
- if ( setPrototypeOf ) setPrototypeOf ( PrimitiveMap , Map ) ;
50
+ if ( setPrototypeOf ) setPrototypeOf ( PrimitiveMap , MapPolyfill ) ;
51
51
52
- PrimitiveMap . prototype = create ( Map . prototype , {
52
+ PrimitiveMap . prototype = create ( MapPolyfill . prototype , {
53
53
constructor : d ( PrimitiveMap ) ,
54
54
_serialize : d ( function ( value ) {
55
55
if ( value && ( typeof value . toString !== 'function' ) ) return null ;
You can’t perform that action at this time.
0 commit comments