Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change console.log for errors and warnings (facebook#1375)
Array.forEach is passed the following parameters: currentValue The current element being processed in the array. index The index of the current element being processed in the array. array - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach console.log takes multiple arguments. We only want to print the first one, the actually message.
- Loading branch information