Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Action {
- constructor(name, age) { this.age = age; this.name = name; }
- execute() { return { name: this.name, age: this.age }; }
- };
- var u;
- for (let i = 0; i < 1000000; i++) {
- u = new Action("name", 100).execute();
- }
Advertisement
Add Comment
Please, Sign In to add comment