Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var greenAlien = {
sayHello: function() {
return `Hello, my name is ${ }`
var redAlien = Object.create(greenAlien); = function() {
console.log('I can fly');
var alienA = Object.create(greenAlien); = "Optimus";
var alienB = Object.create(redAlien); = "Clark";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.