3 ms·
Remember when console.log was available when the dev tools were open but would be undefined otherwise, so your code would break unexpectedly but then work fine
by pluma 9y ago
Remember when console.log was available when the dev tools were open but would be undefined otherwise, so your code would break unexpectedly but then work fine when you tried to figure out what went wrong?
- laxd 9y agoOh gaahd, It's all coming back to me now. function log(msg) { if (console.log) console.log(msg) }