Skip to content

Commit

Permalink
Simplify reIsUint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Oct 31, 2015
1 parent ae032c8 commit d95dbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d95dbf6

Please sign in to comment.