You're viewing a comment by Peter Krumins and its responses.

December 06, 2011, 21:42

It's just a function, it's not a keyword. You can redefine it.

pkrumins$ node
> typeof require
> require = function (x) { console.log(x) }
> require('meow')

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "cdrom_286": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.