I hereby claim:
- I am leny on github.
- I am leny (https://keybase.io/leny) on keybase.
- I have a public key whose fingerprint is 1D6E 9030 16B2 0E2C 0725 DCED 1B80 E87C C423 DF3D
To claim this, I am signing this object:
const getReadableAddress = ({street, number, zip, city, country}) => { | |
if (street && number && zip) { | |
return [ | |
`${street} ${number}`, | |
`${zip} ${city}`, | |
country, | |
].join("\n"); | |
} | |
return `${city} (${country})`; |
const getReadableAddress = (street, number, zip, city, country) => { | |
if (street && number && zip) { | |
return [ | |
`${street} ${number}`, | |
`${zip} ${city}`, | |
country, | |
].join("\n"); | |
} | |
return `${city} (${country})`; |
const getReadableAddress = (address) => { | |
if (address.street && address.number && address.zip) { | |
return [ | |
`${address.street} ${address.number}`, | |
`${address.zip} ${address.city}`, | |
address.country, | |
].join("\n"); | |
} | |
return `${address.city} (${address.country})`; |
let answer; | |
if ((answer = DeepThought.getTheAnswer()) === 42) { | |
// … do something with foo | |
} |
let answer = DeepThought.getTheAnswer(); | |
if (answer === 42) { | |
// … do something with foo | |
} |
fetch("/something") | |
.then(JSON.parse) | |
.then((_in) => (console.log(_in), _in)) | |
.then(sendToClient); |
I hereby claim:
To claim this, I am signing this object:
{ | |
"env": { | |
"browser": true, | |
"jquery": true | |
}, | |
"rules": { | |
"comma-dangle": [ 2, "never" ], | |
"no-console": 1, | |
"no-constant-condition": 2, | |
"no-control-regex": 2, |
{ | |
"env": { | |
"node": true | |
}, | |
"rules": { | |
"comma-dangle": [ 2, "never" ], | |
"no-console": 1, | |
"no-constant-condition": 2, | |
"no-control-regex": 2, | |
"no-debugger": 1, |