mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 11:27:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @name objectClear
|
||||
* @summary Removes all the keys from the input object
|
||||
*/
|
||||
export function objectClear(value) {
|
||||
const keys = Object.keys(value);
|
||||
for (let i = 0, count = keys.length; i < count; i++) {
|
||||
delete value[keys[i]];
|
||||
}
|
||||
return value;
|
||||
}
|
||||
Reference in New Issue
Block a user