News for hackers. Stuff that matters.
Re:How Good C# Habits can Encourage Bad JavaScript Habits by tracker1 on Thursday May 09, 2013 @08:25PM (#5683808)
function ConstructorFunction() {

  if (!(this instanceof ConstructorFunction)) 

    throw new Error("new keyword required");

  ...

}

There are no comments on this comment yet.