I hereby claim:
- I am moondef on github.
- I am moondef (https://keybase.io/moondef) on keybase.
- I have a public key ASAW9bhoDdIss5QcCGAWNrmJ0v9Ymhmndj9ZeClLIXMlRQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const balancedNum = number => { | |
const str = number.toString(); | |
const getMiddle = s => { | |
const splited = s.split(''); | |
if (splited.length % 2 === 0) { | |
return splited[splited.length / 2 - 1] + splited[splited.length / 2]; | |
} else { | |
return splited[Math.floor(splited.length / 2)]; | |
} |
const getAngle = (hour, min) => Math.abs(30 * ((hour % 12) + min / 60) - min * 6); |
*.html linguist-language=JavaScript |