Welcome! In this exercise, you'll learn to use the Memory Inspector tool to find a hidden secret in the code.
Follow these steps:
Open Developer Tools (F12 or Ctrl+Shift+I)
Go to the Sources tab and find index.js
Set a breakpoint on the line with console.log('Buffer created...')
Click the "Start Game" button below
When the code pauses, switch to the Memory Inspector tab
Look for the buffer variable in memory
The secret key is encoded in this buffer - can you decode it?
Hint: The buffer contains text data that's been encoded. Try viewing the buffer
as Uint8Array instead of
Uint32Array - each character is a single byte!