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>
 
// // Question 1
// const getArea = (x=40, y=50)=>x*y
// // console.log('no parameters: ', getArea());
// // console.log('with parameters: ', getArea(3, 5));
// const { w: width = 400, h: height = 500 } = {w: 800 };
Output

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

Dismiss x
public
Bin info
nfabacuspro
0viewers