๐ฉ๐จ๐ฉ(): ๐ ๐๐๐๐ฃ๐ an item from the ๐๐๐ of an ๐๐๐๐๐ฆ.
๐ธ๐ฅ๐๐๐๐๐
let players = ['Shakib', 'Tamim', 'Mushfiq'];
players.pop(); // ['Shakib', 'Tamim']
๐ฌ๐ก๐ข๐๐ญ():๐ ๐๐๐๐ฃ๐ an item from the ๐๐๐๐๐๐๐๐๐ of an array.
๐ธ๐ฅ๐๐๐๐๐
let players = ['Shakib', 'Tamim','Mushfiq' ];
players.shift(); // ['Tamim','Mushfiq']
๐ฉ๐ฎ๐ฌ๐ก(): ๐ด๐๐ items to the ๐๐๐ of an array.
๐ธ๐ฅ๐๐๐๐๐
let rivers= ['Meghna'];
rivers.push('Jamuna'); // ['Meghna', 'Jamuna']
๐ฎ๐ง๐ฌ๐ก๐ข๐๐ญ(): ๐ด๐๐ items to the ๐๐๐๐๐๐๐๐๐ of an array.
๐ธ๐ฅ๐๐๐๐๐
let fruits= ['Mango'];
fruits.unshift('Orange'); // ['Orange', 'Mango']
Top comments (0)