Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit authored Jul 25, 2024
1 parent 4073d0f commit bced776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function findStatus(val, { useSTD3ASCIIRules }) {

const target = mappingTable[mid];
const min = Array.isArray(target[0]) ? target[0][0] : target[0];
const max = Array.isArray(target[0]) ? (min + target[0][1]) : target[0];
const max = Array.isArray(target[0]) ? min + target[0][1] : target[0];

if (min <= val && max >= val) {
if (useSTD3ASCIIRules &&
Expand Down

0 comments on commit bced776

Please sign in to comment.