4 lines
97 B
JavaScript
4 lines
97 B
JavaScript
|
export default function permute(source, keys) {
|
||
|
return Array.from(keys, key => source[key]);
|
||
|
}
|