Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
 <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<body>
  <div><input name="the" id="the" value="-"/></div> 
  <logo></logo>
</body>
</html>
 
logo{
  width:200px;
  height:200px;
  background: black;
}
 
var name="nira";
alert(name);
var test = "";
(function(window) {
  window.name = 'nawaz';
  alert(name); 
})();
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers