Lines Matching full:sum
19 function sum(a:number, b:number):number {
25 print(`Calculate sum: ${argumentsList}`);
26 // expected output: "Calculate sum: 1,2"
31 print(sum(1, 2));
33 const proxy0 = new Proxy(sum, handler);
38 const proxy1 = new Proxy(sum, handler);
42 const proxy2 = new Proxy(sum, {});
46 const proxy3 = new Proxy(sum, {});
50 const proxy4 = new Proxy(sum.bind({}, 3), {});
58 ArkTools.removeAOTFlag(sum);
59 const proxy6 = new Proxy(sum, {});