The Eager evaluation feature helps you write valid JavaScript. The Console immediately displays the result 4 on the next line while you type. If necessary, click in DevTools to give it focus, and then press Esc to open the Console.Ĭlick in the Console, and then type 2+2, without pressing Enter. Or, press Ctrl+Shift+J (Windows, Linux) or Command+Option+J (macOS), to directly open the DevTools console. Right-click in a webpage and then select Inspect. To enter JavaScript statements and expressions interactively in the Console:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |