You can pass any number of elements to console.log
, not just one or two.
You can pass any number of elements to console.log
, not just one or two.
For example (within the app I’m writing in CoffeeScript):
console.log @units_minutes, isLastMinute, seconds
Reference (MDN): https://developer.mozilla.org/en-US/docs/Web/API/Console/log