It
You can use the _
symbol as shorthand for an argument. These two functions are exactly the same:
let double = [_] => _ * 2
let double = _ * 2
Last updated
Was this helpful?
You can use the _
symbol as shorthand for an argument. These two functions are exactly the same:
let double = [_] => _ * 2
let double = _ * 2
Last updated
Was this helpful?