iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Apply Array.splice to timers_list in timers.js

Open seanshpark opened this issue 11 years ago • 2 comments

    // Todo: use splice when available
    var j, leng = timers_list.length;
    for (j = idx; j < leng; j++) {
      timers_list[j] = timers_list[j+1];
    }
    timers_list.pop();
  • PR https://github.com/Samsung/iotjs/pull/33
  • Jerry https://github.com/Samsung/jerryscript/issues/3

seanshpark avatar May 20 '15 08:05 seanshpark

I think we can do this now.

ILyoan avatar Jun 10 '15 02:06 ILyoan

close as patch landed

seanshpark avatar Jun 10 '15 06:06 seanshpark