Created
December 30, 2018 01:40
-
-
Save becca-bailey/c61c5e0128e948dfc65e60544ac30b9f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var todos = [] | |
function addTodo(task) { | |
todos.push({ | |
task: task, | |
completed: false, | |
}); | |
} | |
addTodo("Feed my cat"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment