IOTConnect-Web/node_modules/es5-ext/object/assign/is-implemented.js

10 lines
258 B
JavaScript
Raw Normal View History

2024-05-09 01:49:52 +00:00
"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";
};