is-implemented.js 258 B

123456789
  1. "use strict";
  2. module.exports = function () {
  3. var assign = Object.assign, obj;
  4. if (typeof assign !== "function") return false;
  5. obj = { foo: "raz" };
  6. assign(obj, { bar: "dwa" }, { trzy: "trzy" });
  7. return obj.foo + obj.bar + obj.trzy === "razdwatrzy";
  8. };