- 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
16 lines
294 B
JavaScript
16 lines
294 B
JavaScript
'use strict';
|
|
|
|
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];
|
|
}
|
|
|
|
exports.split = split;
|