This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scala 1 hr 32 mins โโโโโโโโโโโโโโโโโโโโโ 42.8% | |
TypeScript 51 mins โโโโโโโโโโโโโโโโโโโโโ 23.6% | |
JavaScript 37 mins โโโโโโโโโโโโโโโโโโโโโ 17.2% | |
Other 22 mins โโโโโโโโโโโโโโโโโโโโโ 10.4% | |
JSON 8 mins โโโโโโโโโโโโโโโโโโโโโ 4.0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple | |
const simpleRecursive = () => simpleRecursive() | |
simpleRecursive() | |
// "simpleRecursive" is undefined! (static check) | |
const notSoSimpleRecursive = me => me(me) | |
notSoSimpleRecursive(notSoSimpleRecursive) | |
// Don't run forever! | |
const factorial = (me, n) => n < 1 ? 1 : n * me(me, n - 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ๅๅ่ฏด็ๆ่งๅพๆๆๆ | |
// ๆๅไบไธชDemo2333 | |
// ไธ่ฟๅช่ฝๅผๅพ็ฎๅ็Function๏ผ ๅฏ่งFunctionalๆฏๆชๆฅ๏ผ ่ฏฏ๏ผ | |
const testFunction = num => num * 2 | |
const slowFunction = time => { | |
const now = Date.now() | |
let round = 0 | |
while (now + time > Date.now()) { | |
round++ |
