tools, lib: fix console intrinsic freezing
tools: fix lint rule recommendation
The lint rule recommends destructuring console
out of the
internal/console/global.js
export. However, that does not
exist. The top level export is actually the console
object.
console
intrinsic
lib: fix incorrect use of The console
object was not being frozen because the intrinsic
freezing code was accessing undefined
instead of the console
object.