• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jshint / jshint / 2495 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2016 06:30PM UTC
Files 13
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2016 06:28PM UTC coverage: 97.625%. Remained the same
2495.3

Pull #3003

travis-ci

web-flow
[[FIX]] Support semicolons within arrow fn params

When JSHint encounters an "open parenthesis" token, it must determine if
the token marks the beginning of an arrow function or a grouping
operator before parsing can proceed.

To make this determination, it inspects the token stream to find the
corresponding "close parenthesis" character.

Previously, this lookahead behavior halted whenever a semicolon token
was encountered. This was presumably an optimization to allow the
algorithm to exit early in the event of an unmatched "open parenthesis"
token.

Because a semicolon token may appear in the parameter list of an arrow
function (e.g. within a default parameter value that is a function
expression), the presence of such a token does *not* necessarily
indicate that the "open parenthesis" is unmatched.

Remove the condition concerning the semicolon character from the
lookahead algorithm.
Pull Request #3003: [[FIX]] Support semicolons within arrow fn params

3946 of 4042 relevant lines covered (97.62%)

3303.14 hits per line

Source Files on job 2495.3
  • List 13
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2495
  • Travis Job 2495.3
  • a303d1d3 on github
  • Prev Job for on master (#2494.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc