An interactive JavaScript console that executes code and displays results using a visual object inspector. Type JavaScript expressions and press Enter to evaluate them. Use Shift+Enter to add new lines without executing.
Math.PI
- Simple number[1, 2, 3, 4, 5]
- Array{ name: 'Alice', age: 30, hobbies: ['reading', 'coding'] }
- Objectdocument.querySelector('h1')
- DOM elementnew Date()
- Date objectfetch
- Function objectnavigator.userAgent
- Stringwindow.location
- Complex objectArray.from({length: 5}, (_, i) => i * i)
- Generated arraydocument.querySelectorAll('*')
- NodeList