]> gerrit.simantics Code Review - simantics/district.git/blob - assign/is-implemented.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / assign / is-implemented.js
1 'use strict';
2
3 module.exports = function () {
4         var assign = Object.assign, obj;
5         if (typeof assign !== 'function') return false;
6         obj = { foo: 'raz' };
7         assign(obj, { bar: 'dwa' }, { trzy: 'trzy' });
8         return (obj.foo + obj.bar + obj.trzy) === 'razdwatrzy';
9 };