JavaScript

const andysToys=[‘Woody’, ‘Hamm’, ‘Rex’, ‘Wheezy’]

andysToys.pop(‘Wheezy’)

andysToys.push(‘Buzz’)

const andysFavoriteToy=andysToys[3];

Leave a Comment

Your email address will not be published.