Created
April 22, 2020 18:06
-
-
Save aheld/10bbbdd44b60eed92f123cb357c620af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert') | |
function makeDeposits (deposits) { | |
return 0 | |
} | |
const deposits = [0, 100, 100, 100] | |
const expected = 300 | |
const balance = makeDeposits(deposits) | |
assert.strictEqual(balance, expected) | |
console.log("makeDeposits( " + JSON.stringify(deposits) + ") = " + expected) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment