If there is any case where console.log
is undefined, I would need to define it or wrap my logging calls in my own log function.
Is there any javascript runtime environment where console.log
could be undefined? By runtime environment I mean a browser or other environments like Node.