- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
12 lines
213 B
JavaScript
12 lines
213 B
JavaScript
function omit(object, keysToOmit = []) {
|
|
const clone = Object.assign({}, object);
|
|
for (const key of keysToOmit) {
|
|
if (key in clone) {
|
|
delete clone[key];
|
|
}
|
|
}
|
|
return clone;
|
|
}
|
|
|
|
export { omit };
|