Im głębiej poznaję webdev, tym bardziej odczuwam ból egzystencjalny. Te wszystkie reacty i angulary z beznadziejną składnią, typescripty i inne ulepszanie na siłę javascriptu, grunty, npmy i zależności, lessy śnią mi się jako koszmary po nocach. A ja chcę tylko napisać frontend do kilku hobbistycznych projektów tak, aby kod nie był brzydki i oszczędzić trochę czasu, nic więcej.
#oswiadczenie #nieprogramowanie
#oswiadczenie #nieprogramowanie






































In Computer Science a queue is an abstract Data Structure where items are kept in order. New items can be added at the back of the queue and old items are taken off from the front of the queue.
Write a function nextInLine which takes an array (arr) and a number (item) as arguments. Add the number to the end of the array, then remove the
Dla nextInLine([5,6,7,8,9], 1) should return 5
przed wywołaniem: 3,4,5,1,1
funkcja zwraca 3
po wywołaniu jest 4,5,1,1,1
Tak