GH
.*?
- всё остальное точное соответствие символов.Size: a a a
GH
.*?
- всё остальное точное соответствие символов.О
М
NK
j
String.prototype.validate = function (testQuery) {
if (testQuery === 'length=3') {
return this.toString().length === 3
}
}
console.log('aaa'.validate('length=3'))
//true
console.log('aaaa'.validate('length=3'))
//false
NK
String.prototype.validate = function (testQuery) {
if (testQuery === 'length=3') {
return this.toString().length === 3
}
}
console.log('aaa'.validate('length=3'))
//true
console.log('aaaa'.validate('length=3'))
//false
j
GH
GH
Р
j
j
<\/ul>
j
GH
GH
GH
Р
NK
NK
j