summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/string/#/starts-with/is-implemented.js
blob: a0556f196e9afaf84d5f3701e6a1e7f03679a11c (plain)
1
2
3
4
5
6
7
8
9
'use strict';

var str = 'razdwatrzy';

module.exports = function () {
	if (typeof str.startsWith !== 'function') return false;
	return ((str.startsWith('trzy') === false) &&
		(str.startsWith('raz') === true));
};