Skip to content

3-arrow-functions.js - tried all gist examples. #6

@sectortwofive

Description

@sectortwofive

Tried all examples on gist, they all produce the same error.

console.log(tasks.getTasksToDo())
^

TypeError: tasks.getTasksToDo is not a function
at Object. (/home/nemi/code/playground/3-arrow-functions.js:16:19)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
[nodemon] app crashed - waiting for file changes before starting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions