source:
imaps-frontend/node_modules/es-abstract/2023/IsPropertyKey.js@
d565449
Last change on this file since d565449 was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 202 bytes |
Line | |
---|---|
1 | 'use strict'; |
2 | |
3 | // https://262.ecma-international.org/6.0/#sec-ispropertykey |
4 | |
5 | module.exports = function IsPropertyKey(argument) { |
6 | return typeof argument === 'string' || typeof argument === 'symbol'; |
7 | }; |
Note:
See TracBrowser
for help on using the repository browser.