Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions spec/variables/assignment.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ describe("Variable Assignment:", () => {
expect(a).toEqual(20)
})

const firstNumber = 20

it("secondNumber is 42", () => {
expect(b).toEqual(42)
})
Expand Down
4 changes: 2 additions & 2 deletions src/variables/assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ let firstNumber = 10
firstNumber = 0

// TODO: Set the value of firstNumber below so the tests pass

firstNumber = 20
// TODO: Change the code below so that the tests pass
const secondNumber = 0 // edit this value
const secondNumber = 42 // edit this value

// do not edit the exported object.
module.exports = {
Expand Down