ubdate
This commit is contained in:
7
node_modules/es-abstract/2018/IsPropertyKey.js
generated
vendored
Normal file
7
node_modules/es-abstract/2018/IsPropertyKey.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
|
||||
|
||||
module.exports = function IsPropertyKey(argument) {
|
||||
return typeof argument === 'string' || typeof argument === 'symbol';
|
||||
};
|
||||
Reference in New Issue
Block a user