Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Spaces around '.' in expressions handled inconsistently #4613

Closed
@fdavie-google

Description

@fdavie-google

Angular expressions don't handle whitespace consistently:

$eval('foo.bar'); // works
$eval('foo. bar'); // throws
$eval('foo. bar'); // works
$eval('foo . bar'); // works

All these work in JS.

Fiddle: http://jsfiddle.net/fdavie/MXK87/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions