pop javascript string code example Example: pop javascript let cats = ['Bob', 'Willy', 'Mini']; cats.pop(); // ['Bob', 'Willy']