Mensur Duraković
  • /home
  • /about
  • /uses
Sign in Subscribe

technical-interview

What Are JavaScript Generators?

What Are JavaScript Generators?

One of the less-known, but cool JavaScript features are generators. Added in ES6, generators provide a different method for handling loops and asynchronous tasks. You can think of generators as functions with a pause button. They yield values on demand, unlike the normal functions that run to completion. This unique
Mensur Durakovic Jul 17, 2024
What is CORS? 5-minute explanation

What is CORS? 5-minute explanation

You coded a backend and now you want to connect your frontend app to your backend, but then you get this weird error: What the hell is CORS? CORS is an abbreviation for "Cross-Origin Resource Sharing". This is a mechanism enabling a website at one URL to request
Mensur Durakovic Jan 24, 2024
JavaScript Prototype Chain: Short And Simple Guide

JavaScript Prototype Chain: Short And Simple Guide

Before I begin, let me give a warning. This article is for those who want to understand how the prototype chain in JavaScript works. It's going to be tough for some of you and it may seem not very clear on first read. You may have to re-read
Mensur Durakovic Nov 8, 2023

Subscribe to Mensur Duraković

Sign up to get a new article every 2-3 weeks. No spam ever.
Mensur Duraković © 2025. Powered by Ghost