Sha256: d267917c0717dc90755c15858aaeb3e9b2747b1e5ddd08025d1db4f8f61b43bc

Contents?: true

Size: 457 Bytes

Versions: 5

Compression:

Stored size: 457 Bytes

Contents

'use strict';

var callBind = require('es-abstract/helpers/callBind');
var replace = callBind(String.prototype.replace);

/* eslint-disable no-control-regex */
var startWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/;
/* eslint-enable no-control-regex */

module.exports = function trimStart() {
	return replace(this, startWhitespace, '');
};

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/string.prototype.trimstart/implementation.js
tang-0.2.1 spec/tang_app/node_modules/string.prototype.trimstart/implementation.js
tang-0.2.0 spec/tang_app/node_modules/string.prototype.trimstart/implementation.js
tang-0.1.0 spec/tang_app/node_modules/string.prototype.trimstart/implementation.js
tang-0.0.9 spec/tang_app/node_modules/string.prototype.trimstart/implementation.js