Test case details

Preparation Code

Test cases

Test #1

var test = {   x: 5,   y: [],   faster: function() {     var i = 0,         res = 0;     for (; i < 7000; i++) {       this.y.push(i);     }     for (i = 0; i < this.y.length; i++) {       res += this.x * this.y;     }     return res;   } }; test.faster();

Test #2

var test = {   x: 5,   y: [],   faster: function() {     var i = 0,         res = 0,         me = this;     for (; i < 7000; i++) {       me.y.push(i);     }     for (i = 0; i < me.y.length; i++) {       res += me.x * me.y;     }     return res;   } }; test.faster();