Commit 40b171bd authored by Tessa Bakker's avatar Tessa Bakker

Issue #3190093: Fix typo in bitwise OR assignment

parent d0a6f668
......@@ -54,7 +54,7 @@
if (!(Position < this.length)) {
Position = this.length;
} else {
Position | = 0; // round position
Position |= 0; // round position
}
return this.substr(Position - searchStr.length,
searchStr.length) === searchStr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment