Easy to cheat on -> Use Destructuring Assignment to Assign Variables from Arrays

Easy to cheat on -> Use Destructuring Assignment to Assign Variables from Arrays
0

#1

Tell us what’s happening:
If you just switch the values for a&b on the first line, the problem passes.
Your code so far


let a = 6, b = 8;
(() => {
  "use strict";
  // change code below this line

  // change code above this line
})();
console.log(a); // should be 6
console.log(b); // should be 8

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-arrays


#2

Bugs should always be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.


#3

Bug is still there seems like no one cares about it


#4

Eh, one could argue that everything here is easy to cheat on. Cheaters gonna cheat


#5

There are currently 445 open Issues as well as new features and enhancements that are in active development. If you want a particular issue addressed, you can contribute a fix.