Created
October 9, 2017 20:12
-
-
Save anonymous/5c99593c44f43ef99eee8f4132c89552 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/zodilevulu
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
let user = {nombre : "pepe"} ; | |
console.log(user); | |
console.log(user.__proto__) ; | |
let animal= Object.create(null) ; | |
animal.vivo = true; | |
console.log(animal) ; | |
let perro = Object.create(animal) ; | |
perro.ladra = 1 ; | |
console.log(perro) ; | |
console.log( typeof perro); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">let user = {nombre : "pepe"} ; | |
console.log(user); | |
console.log(user.__proto__) ; | |
let animal= Object.create(null) ; | |
animal.vivo = true; | |
console.log(animal) ; | |
let perro = Object.create(animal) ; | |
perro.ladra = 1 ; | |
console.log(perro) ; | |
console.log( typeof perro); | |
</script></body> | |
</html> |
This file contains 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
let user = {nombre : "pepe"} ; | |
console.log(user); | |
console.log(user.__proto__) ; | |
let animal= Object.create(null) ; | |
animal.vivo = true; | |
console.log(animal) ; | |
let perro = Object.create(animal) ; | |
perro.ladra = 1 ; | |
console.log(perro) ; | |
console.log( typeof perro); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment