## console global variable ScriptCraft provides a `console` global variable with the followng methods... * log() * info() * warn() * error() The ScriptCraft console methods work like the [Web API implementation][webcons]. ### Example console.log('Hello %s', 'world'); Basic variable
(args)
| 37 | |
| 38 | ***/ |
| 39 | function argsToArray(args) { |
| 40 | var result = []; |
| 41 | for (var i = 0; i < args.length; i++) { |
| 42 | result.push(args[i]); |
| 43 | } |
| 44 | return result; |
| 45 | } |
| 46 | function consMsg(params) { |
| 47 | var args = argsToArray(params); |
| 48 | if (args.length > 1) { |