12345678910111213141516171819202122232425262728293031323334 |
- function DeepClone(toClone) {
- return JSON.parse(JSON.stringify(toClone));
- }
- function DecimalPlaceIsNonZero(input, place) {
- return !!Math.floor((input / (10 ** place)) % 10);
- }
- module.exports = {
- DeepClone: DeepClone,
- DecimalPlaceIsNonZero: DecimalPlaceIsNonZero,
- };
|