Skip to content

Return

return use for function fn return a value and break the function. return can only appear in the function.

nvs
fn foo(count: number): number {
    return count + 1;
}