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