What a stack is and how it REALLY works in JavaScript... are you really sure you know?

preview_player
Показать описание
This video gives a deep dive into the Stack Abstract Data Structure and how it works in Javascript. We use the popular coding kata reverse a string, as our coding example of how this works.

We look at using stacks with arrays in JavaScript but also at implementing our own Stack Data Structure. As we discover in this video, arrays don't quite work the same way in JS as other languages, and they're really just objects underneath. We also prove this as always at a bytecode level

In this video you'll get a deep understanding of Stacks, Arrays and Objects in JavaScript

00:00 Introduction
00:50 Reversing a String or Arrays
04:50 Reversing a String or Arrays with Reducers
07:55 Understanding The Stack Abstract Data Type
11:30 Reversing the String with a Stack
13:35 Implementing a Stack in Javascript using Arrays
16:45 Implementing a Stack as a Class using Arrays
27:28 Implementing a Stack as a Class using Objects
36:00 Stack Byte Code
Рекомендации по теме
Комментарии
Автор

🔥🔥 All your videos are the best. But you haven't continued this series for a year. How about a video on closures with bytecode ?

anvk
Автор

I really appreciate it that was helpful

youssefosama
visit shbcf.ru