Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

UTF-8 in identifiers not supported #24

Open
@OrangeDog

Description

@OrangeDog
jscoverage node node-cov
jscoverage:stats/controllers/user.js:184: missing : after property id
jscoverage:stats/controllers/user.js:184: SyntaxError: illegal character
jscoverage: parse error in file stats/controllers/user.js

The character in question is a μ being used as an object literal property name.

var data = {
    min: stats.min,
    max: stats.max,
    μ: stats.sum / stats.count,
    σ: Math.sqrt(variance),
    N: stats.count
};

Node and my IDE both handle this fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions