* Remove nested properties from a parent object * @param {Object} parentObj * Parent object from which properties or nested properties should be removed * @param {Array. >} keyPaths * Array of key paths for properties that should be removed. Each key path * is an array o
( parentObj: object, keyPaths: Array<Array<number | string>> )
| 1903 | * |
| 1904 | */ |
| 1905 | function performRemoveProps( |
| 1906 | parentObj: object, |
| 1907 | keyPaths: Array<Array<number | string>> |
| 1908 | ) { |
| 1909 | for (var i = 0; i < keyPaths.length; i++) { |
| 1910 | var keyPath = keyPaths[i]; |
| 1911 | _.unset(parentObj, keyPath); |
| 1912 | } |
| 1913 | } |
| 1914 | |
| 1915 | /** |
| 1916 | * Return object that contains all properties in fullObj that are not |
no outgoing calls
no test coverage detected