SOURCE

function omit(object, keys) {
	object1 = {...object};
	for (let key of keys) {
		for (let value in object1) {
			if (key === object1[value]) {
				delete object1[value];
			}
		}
	}

	return object1;
}

object = {
	key1: 'haleo',
	key2: 'haizei',
	key3: 'aoligei',
}
console.log(omit(object, ['haleo','haizei', 'aoligei']));
console 命令行工具 X clear

                    
>
console