Describe what you achieved in this PR
- List the changes you made and why you made them
I hereby claim:
To claim this, I am signing this object:
const crypto = require('crypto') | |
/** | |
* Generates an evenly distributed random number. | |
* Basically, keep performing rounds until we have one champion. Each round a | |
* random number is generated for every remaining character in choices. If the | |
* random number is a maximum, those characters go onto the next round, until | |
* there is only one maximum left. | |
*/ |
/* | |
$ node promises.js | |
1: Hello | |
2: Hello, world | |
3: Hello, world. I am a Promise. | |
4: Error: REJECTION! | |
*/ | |
const assert = require('assert') |
module.exports = { | |
'extends': 'google', | |
'parserOptions': { | |
'ecmaVersion': 6, | |
}, | |
'rules': { | |
// https://eslint.org/docs/rules/array-bracket-spacing | |
'array-bracket-spacing': ['error', 'never'], |