Shift and unshift functions. Basic data structure - Queue. JavaScript Basics

Published: 05 November 2017
on channel: DoCode
1,058
31

Examples of working with the shift and unshift functions. Example of creating a basic data structure - Queue

Help the project:
https://money.yandex.ru/to/4100193378...
  / docode  
https://skies.land/user/53
BTC: 18nWMsvFR3g9DGW3pEvvTDQgg5jD3QvoEb
ETH: 0xcf27e3fd260A806B8C0f0fC5722dC267e1295D52
LTC: LVXvrHYdDJd8Wpa5GZ6my7VDCVrrxoB8f6

Task
Remove the first element using the function shift()
http://docode.ru/challenges/javascrip...
Add the first element using the unshift() function
http://docode.ru/challenges/javascrip...
Create a shopping list
http://docode.ru/challenges/javascrip...

Lesson text and additional materials
http://video.docode.ru/s/RCtzvh

Install the Arithmetic Trainer app:
iOS AppStore: https://goo.gl/V5jA7N
Android Google Play Market: https://goo.gl/PPdtbX

VK Group:
http://vk.com/docode

Group FB:
  / docode.ru  

Telegram:
https://t.me/docode


On this page of the site you can watch the video online Shift and unshift functions. Basic data structure - Queue. JavaScript Basics with a duration of hours minute second in good quality, which was uploaded by the user DoCode 05 November 2017, share the link with friends and acquaintances, this video has already been watched 1,058 times on youtube and it was liked by 31 viewers. Enjoy your viewing!