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.

is-symbol.js 407B

12345678910111213141516
  1. "use strict";
  2. var SymbolPolyfill = require("../polyfill");
  3. module.exports = function (t, a) {
  4. a(t(undefined), false, "Undefined");
  5. a(t(null), false, "Null");
  6. a(t(true), false, "Primitive");
  7. a(t("raz"), false, "String");
  8. a(t({}), false, "Object");
  9. a(t([]), false, "Array");
  10. if (typeof Symbol !== "undefined") {
  11. a(t(Symbol("foo")), true, "Native");
  12. }
  13. a(t(SymbolPolyfill()), true, "Polyfill");
  14. };