Update constructor-pattern.js