We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let _checkParameters = function (sab, loc, truth, who) { if (!(sab instanceof SharedArrayBuffer && loc|0 == loc && loc >= 0 && loc % truth.ALIGN == 0 && loc + truth.NUMBYTES <= sab.byteLength)) { throw new Error("Bad arguments to " + who + ": " + sab + " " + loc); } }
== has a higher priority then |. Thus loc|0 == loc means loc | (0 == loc), which is always non-zero ( effectively true )
==
|
loc|0 == loc
loc | (0 == loc)
The text was updated successfully, but these errors were encountered:
Thank you, will fix this.
Sorry, something went wrong.
1e1b226
No branches or pull requests
==
has a higher priority then|
. Thusloc|0 == loc
meansloc | (0 == loc)
, which is always non-zero ( effectively true )The text was updated successfully, but these errors were encountered: