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>
 
/* 
 Use `.filter()` to return all the words that have 
 more than 6 characters in the `words` array. 
 Save the returned values to a variable 
 declared with `const` called `longWords`
*/
const words = ["jump", "run", "swim", "catapult", "throw", "trampolining"]
// add your code below
// Do not modify 
console.log(longWords) 
Output

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

Dismiss x