(min, max)
| 543 | |
| 544 | //#region Integer helpers |
| 545 | function getRandomInt(min, max) { |
| 546 | return Math.floor(Math.random() * (max - min + 1)) + min; |
| 547 | } |
| 548 | |
| 549 | function getNumberOfDigits(x) { |
| 550 | return (Math.log10((x ^ x >> 31) - (x >> 31)) | 0) + 1; |
no outgoing calls
no test coverage detected