What is the reason behind the inability to add Symbol.iterator to an Object in this way?
Object.prototype[Symbol.iterator];
let obj = {num: 1 , type : ' :) '}
for (let p of obj) {
console.log(p);
}
// TypeError: obj is not iterable