Home > typescript-from-zero > sum3

sum3() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Calculate the sum of three numbers

Signature:

export declare function sum3(a: number, b: number, c: number): number;

Parameters

Parameter Type Description
a number first number
b number second number
c number third number

Returns:

number