- 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
14 lines
274 B
JavaScript
14 lines
274 B
JavaScript
function split(object, keys) {
|
|
const picked = {};
|
|
const omitted = {};
|
|
for (const [key, value] of Object.entries(object)) {
|
|
if (keys.includes(key))
|
|
picked[key] = value;
|
|
else
|
|
omitted[key] = value;
|
|
}
|
|
return [picked, omitted];
|
|
}
|
|
|
|
export { split };
|