JavaScript 基础 ex1. 例子(添加题目模板) 题目:1. 两数相加 题目要求: 实现一个函数实现两数相加 测试用例: [input]:a = 1 , b = 2 [output]:3 ex1. 答案 function add(a,b){ return a+b }