Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
;(function($, window, document, undefined) {
  $(document).ready(function() {
        var t = $('.test');
        var s = $('.test');
        console.log(t);
        console.log(s);
        if (t.is(s)) {
            console.log('yes');
        }
  });
})(jQuery, window, document);
</script>
</head>
<body>
  <p class="test">hello1</p>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers