console

returns console if present

Console

Just include the script. The host console object is automagically updated in your environment. No need for new or any other sort of initialization.

<script src="console.js"></script>

Or, if you're using console with Node.js

$ npm [-g] install console

Then require the "console" module:

var console = require("console");