• 1
    haha classic :)
  • 18
    The variable "server" is probably redefined in the closure in which the error was raised.
    * Flies away *
  • 4
    @kwilliams Please, dont destroy the magic 😉
  • 0
    Saw that on /r/ProgrammerHumor!
    It doesnt complain that `listen` is not a function, but that the returned value is not a function.
    Correct way to test it would be `x = server.listen(); typeof x`
Add Comment