Searched refs:addNumbers (Results 1 – 5 of 5) sorted by relevance
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/arrow_function/ |
D | arrow_function_1.ts | 25 const addNumbers = (num1: number, num2: number): number => { constant 28 const result1 = addNumbers(5, 10);
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/function/ |
D | type.tentative.any.js | 4 function addNumbers(x, y, z) { function 27 assert_function({results: ["f64"], parameters: ["i32", "i64", "f32"]}, addNumbers)
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-nested-funcs/ |
D | arkts-no-nested-funcs-1-error.ets | 21 function addNumbers(a: number, b: number): number { 29 const result = addNumbers(5, 3)
|
D | arkts-no-nested-funcs-1-ok.ets | 21 const addNumbers = (a: number, b: number): number => { 26 const result = addNumbers(5, 3)
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/grammar/types/ |
D | types.ts | 55 function addNumbers(...num: number[]): number { function 62 Assert.equal(addNumbers(5, 5, 5, 5, 5), 25);
|