Skip to main content

Command Palette

Search for a command to run...

Mastering Javascript

Published
1 min read
Mastering Javascript
C

I’m a software engineer who builds modern applications with Vue, React, Laravel, and Node.js. I enjoy exploring new technologies, writing about what I’m learning, and sharing practical insights that help other developers grow.

Hello, I have been on the journey of mastering javascript, and I came across the book "Eloquent Javascript" by Marijn Haverbeke. And I've decided to share my journey and progress, by showing the task, I completed by the end of each chapter.

Chapter 1

Task: Looping a triangle Write a loop that makes seven calls to console.log to output the following triangle:

let number=''


for(let num = 0; num<7;num++){

  number = number + '#'
  console.log(number)
}

References: Eloquent Javascript by Marijn Haverbeke.

More from this blog

Untitled Publication

9 posts