Symbol()
function Symbol() { [native code] }
Code must be enclosed in code blocks!
Buffer.alloc(999999999)
let tuce = "yum"
console.log(‘hi’)
SyntaxError: Invalid or unexpected token
Object.keys(this)
Buffer.alloc(51200)
Buffer.alloc
function alloc(size, fill, encoding) { assertSize(size); if (fill !== undefined && fill !== 0 && size > 0) { const buf = createUnsafeBuffer(size); return _fill(buf, fill, 0, buf.length, encoding); } return new FastBuffer(size); }
function Buffer(arg, encodingOrOffset, length) { showFlaggedDeprecation(); // Common case. if (typeof arg === 'number') { if (typeof encodingOrOffset === 'string') { throw new ERR_INVALID_ARG_TYPE('string', 'string', arg); } return Buffer.alloc(arg); } return Buffer.from(arg, encodingOrOffset, length); }
new VMError("abc", 123)
class VMError extends Error { /** * Create VMError instance. * * @public * @param {string} message - Error message. * @param {string} code - Error code. */ constructor(message, code) { super(message); this.name = 'VMError'; this.code = code; thisErrorCaptureStackTrace(this, this.constructor); } }
Load more comments