First, create a sum.js file: function sum(a, b) {. return a + b;. } module.exports = sum;. Copy. Then, create a file named sum.test.js .
確定! 回上一頁