SOURCE

function pick(obj, [key1, key2]) {
	obj.push(key1);
	obj.push(key2);
	return obj;
}

var obj = [];
console.log(pick(obj, [1, 3]));
console 命令行工具 X clear

                    
>
console