Skip to content

Data examples issue #7

@tkachukcha

Description

@tkachukcha

In a film JSON example 12.5 in a for loops you're trying to find length of film variable which is objects with film.length method, and because of that whole script it's not working. To make example work the length of film object should be found by using this method: Object.keys(film).length

And another issue is in the example 12.4. Script is not working until you specify which element of film object you wanna print i.e. instead of var title = film.title; it should be ... = film[0].title;

and to print information about all the films there should be a loop

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