Hello everyone, I have been using Codeacademy for about a month now. I recently started doing the practice projects in Visual Studio Code then pasting my solution to Codeacademy. In sortSpeciesByTeeth I copied everything from the practice project to visual studio. Then I wrote what I thought was the solution but it was not sorting. I deleted everything then tried again same results. I decided to paste my solution into Codeacademy and it worked. Does anyone know what might be happening here?
I forgot to add. I also pasted the solution code from Codeacademy to visual studio and it does not work/sort.
I wouldn’t have thought there’d be a deprecation issue but it might be difficult to say what the problem is without code or a link to the lesson, adding a little more info would be good. Bumped this into javascript.
Here is the link to the lesson. I copied the solution to visual studio and it does not sort. Also I installed the latest version of nodejs version 16.14.2. I will try on another computer tonight when I get home.
Tested on another computer. Windows 10 Pro, latest version of visual studio, and latest version of nodejs. Here is the output I get with visual studio using the solution from the lesson. Any ideas what is going on? I have also tested the lesson solution code on a few other javascript test sites and it does not work on those ether. I am starting to think there might a bug with this lesson but I am no expert.