Welcome to JS Bin
Load cached copy from
11
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width">
6
  <title>JS Bin</title>
7
</head>
8
<body>
9
10
</body>
11
</html>
5
 
1
const two = { a: 1, b: 2, c: 3, d: 4 };
2
const one = { a, b, d } = two;
3
4
// what is one.c, undefined or 3?
5
// console.log(one.c);
Output

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

Dismiss x