Skip to content

Issues with tests for scopes challenge #26

@arku

Description

@arku

The challenge asks us to create a function foo and lexically scope a variable bar.
My solution was

var foo = function(){
  var bar;
}

However one of the tests fail. I think the above solution is also right and should be accepted.
Correct me if I am wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions