Tell us what’s happening:
Not sure where to ask this question.
Is there a way to make the code show in a console.log window so that CodeCampers can see what is going on with the code results?
I have been cutting and pasting the code to Scrimba in order to see what it is doing, but that is really getting annoying and time consuming (especially when Scrimba freezes up).
The little window on the exercise page always shows:
" /**
- Your test output will go here.
*/"
or
" // running tests
// tests completed"
It would be very helpful to understand what happens once the code is run.
Your code so far
let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it.";
let vowelRegex = /[aeiou]/ig; // Change this line
let result = quoteSample.match(vowelRegex); // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-single-character-with-multiple-possibilities