Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Why do I JavaScript - Example 1" />
  <meta charset="utf-8">
  <title>DW JS FAQ - Demo</title>
</head>
<body>
  <header>
    
  </header>
  <main>
  </main>
</body>
</html>
 
var DW = (function() {
  'use strict';
  var that = {};
  that.run = function() {
    return "I return everywhere!";
  };
  
  return that;
}());
console.log(DW.run());
Output

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

Dismiss x