Sha256: 85c4321adff072c2fa559fce43267af0d77a8ecc3f45dd917dac16782d9035e1
Contents?: true
Size: 313 Bytes
Versions: 39
Compression:
Stored size: 313 Bytes
Contents
var utils = require('../utils') , nodes = require('../nodes'); /** * Warn with the given `msg` prefixed by "Warning: ". * * @param {String} msg * @api public */ module.exports = function warn(msg){ utils.assertType(msg, 'string', 'msg'); console.warn('Warning: %s', msg.val); return nodes.null; };
Version data entries
39 entries across 20 versions & 2 rubygems