projecte_ionic/node_modules/es-abstract/2016/Type.js
2022-02-09 18:30:03 +01:00

13 lines
249 B
JavaScript
Executable file

'use strict';
var ES5Type = require('../5/Type');
// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values
module.exports = function Type(x) {
if (typeof x === 'symbol') {
return 'Symbol';
}
return ES5Type(x);
};