itsa-jsext
v2.0.2
Published
Extensions to native javascript-objects, all within the itsa_ namespace
Downloads
1,286
Maintainers
Readme
Extensions to native javascript-objects, all within the "itsa_" namespace
How to use:
// ES5:
require("itsa-jsext");
// ES6:
import "itsa-jsext";
####example
"use strict";
import "itsa-jsext";
const obj1 = {
par1: 10,
par2: [
'hi',
{
par2_1: 1,
par2_2: 2
}
];
par3: {
par3_1: 1,
par3_2: 2
}
};
const obj2 = obj1.itsa_deepClone(); // deepcloning obj1 into obj2