1// Copyright 2016 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5var obj = { 6 _leftTime: 12345678, 7 _divider: function() { 8 var s = Math.floor(this._leftTime / 3600); 9 var e = Math.floor(s / 24); 10 var i = s % 24; 11 return { 12 s: s, 13 e: e, 14 i: i, 15 } 16 } 17} 18 19for (var i = 0; i < 1000; i++) { 20 obj._divider(); 21} 22