Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="this-autoeval" />
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
var nombre = 'Bruce Wayne';
var obj = {
  nombre: 'Bruno Díaz',
  prop: {
    nombre: 'Aitor Medrano',
    getNombre: function() {
      return this.nombre;
    }
  }
};
console.log(obj.prop.getNombre());
var test = obj.prop.getNombre;
console.log(test());
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
aitormedran0pro
0viewers