View console.log

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

What’s wrong with the browser console (F12 -> Console)?

When I use F12 (on Mozilla) I get this:

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://js.stripe.com’) does not match the recipient window’s origin (‘https://learn.freecodecamp.org’).

I just thought that since the window on fCC says
" /**

  • Your test output will go here.
    */ "
    It would be nice if it actually displayed the output there.
    So if there is a setting I need to activate, I would like to toggle it on.

The test output means that if you fail tests you will see there which tests you failed. Or you can see what you put in the console.log() command

To see the code step by step I suggest this tool: http://pythontutor.com/javascript.html

thank you @ilenia
I will give that a try.