11 lines
90 B
JavaScript
11 lines
90 B
JavaScript
function add({
|
|
a,
|
|
b
|
|
}
|
|
/*: {a: number, b: number}*/
|
|
)
|
|
/*: number*/
|
|
{
|
|
return a + b;
|
|
}
|