Simplify reIsUint.

This commit is contained in:
John-David Dalton
2015-10-30 22:27:21 -07:00
parent ae032c8523
commit d95dbf6ba8

View File

@@ -132,7 +132,7 @@
var reIsHostCtor = /^\[object .+?Constructor\]$/;
/** Used to detect unsigned integer values. */
var reIsUint = /^(?:\d|[1-9]\d+)$/;
var reIsUint = /^(?:0|[1-9]\d*)$/;
/** Used to match latin-1 supplementary letters (excluding mathematical operators). */
var reLatin1 = /[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g;