Created
April 26, 2025 15:12
-
-
Save davidystephenson/c170b36ffee2015d437bfc04b4007923 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var message = 'hello world' | |
var count = 1 | |
var accurate = true | |
var passcodes = { | |
'front': 1234, | |
back: 3050, | |
kitchen: count, | |
3: 123, | |
'Kit_!@#$%%^&*()chen': 'twice', | |
side: false, | |
safes: { | |
jewels: 321, | |
passport: 999 | |
} | |
} | |
console.log(passcodes) | |
var input = 'jewels' | |
passcodes.kitchen = 'open sesame' | |
passcodes.safes.passport = '111' | |
passcodes[input] = 222 | |
passcodes.trap = 333 | |
passcodes.safes.secretIdentity = 555 | |
delete passcodes.safes[input] | |
console.log(passcodes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment