I am trying to get Javascript code to 100% JSLint.
I have a JS code that I removed from another place to create a UUID. This code has the following line:
s[16] = hexDigits.substr((s[16] & 0x3) | 0x8, 1);
On this line, JSLint generates two error messages:
1) Unexpected use of '&' 2) Unexpected use of '|'
I donβt understand why - I would appreciate advice on how to transcode to eliminate the error message.
javascript jslint
Zhami Jun 14 '10 at 18:18 2010-06-14 18:18
source share