Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
(def left "A") ;; like let left = "A"
(def right "A") ;; like let right = "A"
(def left {:payload "A"}) ;; like let left = { payload: "A" } in JS
(def right {:payload "A"}) ;; like let right = { payload: "A" } in JS
(def left #{"A" "B" "C"}) ;; like let left = new Set(["A", "B", "C"]) in JS
(def right #{"C" "B" "A"}) ;; like let right = new Set(["C", "B", "A"]) in JS
(= left right)
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers