Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <script>
    window.start = new Date();
    function log(str){
      return ()=>{
        console.log(str, document.readyState, new Date() - start);
        if (document.readyState === 'interactive') {
          console.log(document.getElementById('foo').style);
        }
      }
    }
    document.addEventListener('readystatechange', log('rsc'));
    window.addEventListener('load', log('load'));
    log('top')();
  </script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <h1 id="foo">foo</h1>
    
</body>
</html>
Output 300px

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