JavaScript basic: Create a new array taking the first and last elements ...

JavaScript basic: Create a new array taking the first and last elements ...

More to explore

Based on this image's title: “JavaScript basic: Create a new array taking the first and last elements ...