JavaScript constructor vs. prototype · HackerTrans