Converting from one base to another in JavaScript is easier than you thought

Photo by Sigmund on Unsplash

Did you know that converting from one base to another in JavaScript is easier than you thought?

All you need to master are just two functions. Are you wondering what those functions are? They are parseInt() and toString()

In this article, we will explore:

What is parseInt()?

ParseInt() is a JavaScript built-in function that takes in string and radix as an argument and returns an equivalent…


Photo by Mad Fish Digital on Unsplash

Okay.

You are a JavaScript developer, and you write loops.

Have you ever been curious why you keep messing up your loops?

In this article, I will take you through some dos and don’ts in JavaScript loops.

Yeah.

What are Loops?

Loops are used for repeating blocks of code until certain conditions are satisfied.

Muhammed Sodiq

I am a freelance writer and a front end Web developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store