@codezilluh/bitarray.js
Advanced tools
+1
-1
@@ -80,3 +80,3 @@ export class BitArray { | ||
| getBit(position) { | ||
| let pos = position || this._curPos; | ||
| let pos = position != undefined ? position : this._curPos; | ||
@@ -83,0 +83,0 @@ return this._bitArray[pos] ? 1 : 0; |
+1
-1
| { | ||
| "name": "@codezilluh/bitarray.js", | ||
| "version": "1.0.3", | ||
| "version": "1.0.4", | ||
| "description": "A BitArray implementation for ease-of-use", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9299
0.25%