re: Do you really know JS? VIEW POST

FULL DISCUSSION
 

I think 4 out of 6 is a good score!

Bonus task:
Make a function that satisfies these conditions!

fn(1)(2)(3)(4) == 10 // true
fn(1)(2) == 3 // true
fn(1)(0)(0)(0)(0)(3) == 4 // true
fn(1) == 1 // true
code of conduct - report abuse