Created
July 5, 2017 15:53
-
-
Save matthieu-D/42c3869cc6b3d83a5946800018447cd6 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
addTask(newTask) { | |
this.tasks.push(newTask); | |
this.newTask = {name: ''}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment