MCPcopy Index your code
hub / github.com/learning-zone/nodejs-basics / add

Function add

nodejs-basics/assert.js:10–12  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

8 // Example: 01
9var assert = require('assert');
10function add (a, b) {
11 return a + b;
12}
13var expected = add(10, 20);
14assert( expected === 30, 'Test Pass');
15

Callers 1

assert.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected