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>
</head>
<body>
  
</body>
</html>
 
function f1(){}
function f2(){}
var a = new f1(),
    b= new f2();
console.log(a.constructor+"" === b.constructor+"");
b = new f1();
console.log(a.constructor+"" === b.constructor+"");
Output

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

Dismiss x
public
Bin info
CME64pro
0viewers