(condition, message)
| 216 | // Do NOT use this to enforce a certain condition on any user input. |
| 217 | |
| 218 | function assert(condition, message) { |
| 219 | /* istanbul ignore if */ |
| 220 | if (!condition) { |
| 221 | throw new Error('ASSERT: ' + message); |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | function isDecimalDigit(ch) { |
| 226 | return (ch >= 0x30 && ch <= 0x39); // 0..9 |
no outgoing calls
no test coverage detected