question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Passing multiple ES6 challenges with errors

See original GitHub issue

Challenge Name

ES6: An Immutable Object a const does not make

Issue Description

Tried random code if that works. It does give me tons of errors but did let me pass the challenge.

Browser Information

  • Browser Name, Version: Chrome Version 52.0.2743.116 (64-bit)
  • Operating System: OS X 10.10
  • Mobile, Desktop, or Tablet: MacBook

Your Code

 const s = [ 5, 7, 2 ];
s[0,1,2] = [2, 5, 7] 

Screenshot

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ladeyemicommented, Mar 6, 2017

Has there been any movement on this, I’m having similar issue whereby no code inputted and tests are passing happened for the first few so far

edit - just seen the other issues understand it’s being worked on

0reactions
Greenheartcommented, Feb 4, 2017

@OFFLlNE I don’t think we can do much about this at the moment though.

  1. Tests are run against the transpiled code --> we can’t test es6 specific things
  2. Many tests are just placeholders - comments explaining what should be tested, which allows passing challenges without more than pressing the button

Looking forward to fix this issue! 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributing to FreeCodeCamp - Writing ES6 Challenge Tests
Include playlist. An error occurred while retrieving sharing information. Please try again later. 0:00. 0:00 / 2 :55:58• Live.
Read more >
How To Use ES6 Arguments And Parameters
With the rest parameters, we easily avoid these problems: ... There are two ways to pass arguments to a function: by reference or...
Read more >
Extending Error in Javascript with ES6 syntax & Babel
I am trying to extend Error with ES6. That class MyError extends Error {…} syntax is correct. Notice that transpilers still do have...
Read more >
AggregateError - JavaScript - MDN Web Docs
The AggregateError object represents an error when several errors need to be wrapped in a single error. It is thrown when multiple errors...
Read more >
The 10 Most Common JavaScript Issues Developers Face
Many of JavaScript's subtleties lead to a number of common problems that keep ... As a result, the anonymous function being passed to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found