let spaceship = { 'Fuel Type' : 'Turbo Fuel', homePlanet : 'Earth' }; // Write your code below let greenEnergy = obj => { obj['Fuel Type'] = 'avocado oil'; } let remotelyDisable = obj => { obj.disabled = true; } greenEnergy(spaceship); remotelyDisable(spaceship); console.log(spaceship)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter