* This clone the given object, and return it. * WARNING: This does not do a deep cloning. * cf. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Examples * //TODO Add a `deep` option to clone object with more than one depth * * @
(obj)
| 1318 | * @returns {object} |
| 1319 | */ |
| 1320 | static cloneObject(obj) { |
| 1321 | return Object.assign({}, obj); |
| 1322 | } |
| 1323 | |
| 1324 | /** |
| 1325 | * Return a 'camelized' version of the given string. |
no outgoing calls
no test coverage detected