Open in app

Sign In

Write

Sign In

Abdelmalek Ennani
Abdelmalek Ennani

5 Followers

Home

About

May 13, 2022

different ways to iterate over an array JavaScript

introduction Arrays in JavaScript can work both as a queue and as a stack. They allow you to add/remove elements both to/from the beginning or the end. and they are dynamic due that you can store values of different data types. “The Array object, as with arrays in other programming languages…

Java Script

2 min read

different ways to iterate over an array JavaScript
different ways to iterate over an array JavaScript
Java Script

2 min read


May 5, 2022

Different Ways to center a div

imagine yourself doing this to center a div ! 🤣 To avoid this, here are three different ways to center a div. Therefore, you can play the teacher’s role and teach your friends how to center a div 😎 1 — using position and transform 🧘 One of the simplest ways to center a div is by…

Java Script

2 min read

Different Ways to center a div
Different Ways to center a div
Java Script

2 min read


Apr 11, 2022

How to measure execution time of a function/instruction/whole program in JavaScript ?

Sometimes we want to know how long our program takes to execute, where it comes from a cool method called console. Time () Basically, the method console.time()helps …

Java Script

2 min read

How to measure execution time of a function/instruction/whole program in JavaScript ?
How to measure execution time of a function/instruction/whole program in JavaScript ?
Java Script

2 min read

Abdelmalek Ennani

Abdelmalek Ennani

5 Followers

👨‍💻 Software engineering student 🔥 JavaScript lover ☕ ReactJs 👩‍🔧 @redux/toolkit react-refux 🧠 Laravel tinker 🔥

Following
  • Francisco Suarez

    Francisco Suarez

  • Brad Traversy

    Brad Traversy

  • dave.js

    dave.js

  • Julia Haigh

    Julia Haigh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech