mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 22:26:32 +00:00
10 lines
258 B
JavaScript
10 lines
258 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";
|
||
|
};
|