es6.string.trim.js 167 Bytes
Newer Older
qianyuheng committed
1 2 3 4 5 6 7
'use strict';
// 21.1.3.25 String.prototype.trim()
require('./_string-trim')('trim', function ($trim) {
  return function trim() {
    return $trim(this, 3);
  };
});