You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Type.js 229B

123456789101112
  1. 'use strict';
  2. var ES5Type = require('../5/Type');
  3. // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
  4. module.exports = function Type(x) {
  5. if (typeof x === 'symbol') {
  6. return 'Symbol';
  7. }
  8. return ES5Type(x);
  9. };