let retreatMessage = 'We no longer wish to conquer your planet. It is full of dogs, which we do not care for.'; // Write your code below let alienShip = { retreat() { console.log(retreatMessage) }, takeOff() { console.log('Spim... Borp... Glix... Blastoff!') } }; alienShip.retreat(); alienShip.takeOff();
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