This is just out of curiosity, but do any of you have an idea why this code won\'t work?
[1, 2, 3, 4, 5].forEach(console.log); // Prints \'Uncaught TypeErro
This works:
[1,2,3,4,5].forEach(console.log.bind(console));