Data Structure: The History API

Every array in JavaScript has push and pop methods. Because even arrays are objects in JavaScript. The History API was built around this data structure. window.history.pushState pushes data into an array in the history object. window.onpopstate is an event handler in the window object, receiving the popped value from the popped method in the history… Continue reading Data Structure: The History API

Hello world!

I’m Nigerian, an alien from outer space. This is the first contact. Writing to you from WordPress using the new Gutenberg editor. 🖖

Categorized as Genesis