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

source-academy / js-slang / 1288
92%
master: 77%

Build:
Build:
LAST BUILD BRANCH: renovate/globals-17.x-lockfile
DEFAULT BRANCH: master
Ran 03 Jul 2019 08:17AM UTC
Jobs 1
Files 39
Run time 4s
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

pending completion
1288

push

travis-ci

openorclose
Change scoping rules for code execution

First time code is executed:

const math_PI = 3.14;
const map = <some builtin>;
.
.
.
{
  // user code start
  const con = 1;
  let le = 2;
  // blah blah
  <store con back>
  <store le>
}

Second time code is executed:

const math_PI = 3.14;
const map = <some builtin>;
.
.
.
{
  const con = <retrieve result>
  let le = <retrieve result>
  {
    // another user code start
    const con = 2; // can declare const again here!
    // blah blah
  }
}

547 of 610 branches covered (89.67%)

Branch coverage included in aggregate %.

43 of 43 new or added lines in 3 files covered. (100.0%)

1712 of 1833 relevant lines covered (93.4%)

325549.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1288.1 03 Jul 2019 08:17AM UTC 0
92.47
Travis Job 1288.1
Source Files on build 1288
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1288
  • fa253601 on github
  • Prev Build on change-repl-behaviour (#1287)
  • Next Build on change-repl-behaviour (#1292)
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

© 2026 Coveralls, Inc