Right-click in a webpage and then select Inspect. To enter JavaScript statements and expressions interactively in the Console: Prints out the result of your expression.
Reads the JavaScript that you type into it.REPL stands for Read, Evaluate, Print, and Loop. This is possible because the Console tool in DevTools is a REPL environment. You can enter any JavaScript expression, statement, or code snippet in the Console, and it runs immediately and interactively as you type.