edernegrete / FizzBuzzProblem

FizzBuzz problem using only ONE if in Javacript.

Home Page:https://codepen.io/edernegrete/pen/LMLmqL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FizzBuzz problem

This repo is a solution to the FizzBuzz problem. Using only one if in Javacript.

Instructions

It should print the word 'Fizz' when it's a multiple of 3

It should print the word 'Buzz' when it's a multiple of 5

It should print the word 'FizzBuzz' when it's a multiple of 3 and 5

Just using one if!!

Installation

yarn install

yarn start

yarn test

made with ❤️ by @edernegrete_

About

FizzBuzz problem using only ONE if in Javacript.

https://codepen.io/edernegrete/pen/LMLmqL


Languages

Language:JavaScript 100.0%