prototypeAT

Information for tab 1

Another line of information.

Information for tab 2

Another line of information.

Information for tab 3

Another line of information.
Another line of information.

Information for tab 4

Another line of information.

Information for tab 5

Another line of information.

Information for tab 6

Another line of information.

Information for tab 7

Another line of information.
Another line of information.

var cart = ["apple", 'banana', "pear"]

function returnLast(arr)
 {   return arr.at(-1) }

var fruit1 = returnLast(cart)
cart.push('orange');

var fruit2 = returnLast(cart)
var cart = ["apple", 'banana', "pear"]

(arr) =>
 {   return arr.at(-1) }

var fruit1 = returnLast(cart)
cart.push('orange');

var fruit2 = returnLast(cart)
var cart = ["apple", 'banana', "pear"]

(arr) => arr.at(-1)

var fruit1 = returnLast(cart)
cart.push('orange');

var fruit2 = returnLast(cart)
var cart = ["apple", 'banana', "pear"]

((arr) => arr.at(-1))

var fruit1 = ((arr) => arr.at(-1))
cart.push('orange');

var fruit2 = ((arr) => arr.at(-1))

var 
cart,
fruit1,
fruit2 ;

var cart = ["apple", 'banana', "pear"]

(arr) => arr.at(-1)

var fruit1 = (arr) => arr.at(-1)
cart.push('orange');

var fruit2 = (arr) => arr.at(-1)

var 
cart,
fruit1,
fruit2 ;

cart = ["apple", 'banana', "pear"]

(arr) => arr.at(-1)

fruit1 = (arr) => arr.at(-1)
cart.push('orange');

fruit2 = (arr) => arr.at(-1) //should be "orange"