codedamn

Completing a Task

Created by Pedro Machado about a year ago

0

No description provided

2 Comments

    0

    Near the end of the video, on line 29 in the editor: you could simply return the task that is being iterated over instead of constructing a new object

    @vverheij

    Victor Verheij

    @vverheij

    1

    Towards the end (last 30 seconds) we could simply return task.completed instead of using a ternary operator for evaluation.

    @prasadn

    Prasad Nageshkar

    @prasadn

Your comment