Tumortisch-Dist/resources/app/node_modules/es5-ext/object/assign/is-implemented.js
2021-06-15 16:00:08 +02:00

10 lines
260 B
JavaScript

"use strict";
module.exports = function () {
var assign = Object.assign, obj;
if (typeof assign !== "function") return false;
obj = { foo: "raz" };
assign(obj, { bar: "dwa" }, { trzy: "trzy" });
return (obj.foo + obj.bar + obj.trzy) === "razdwatrzy";
};