Write Your JavaScript Code Here

// Array :- It is collection more the single value inside an variable // array.pop():- removes the last element from an array and return the value const arr =[1,2,3,4,5,6]; let element =arr.pop(); console.log(element);

Output: