A component based functional template language

add default parameters to function declatation #2

Open t.ewert.foo
Open opened by t.ewert.foo
let add = fn (a, b=10) -> {
  a + b
};

add(1, 3); // 4
add(1); // 11
Sign up or Sign in to add to the discussion.