Skip to content

Instantly share code, notes, and snippets.

View matheusdsilva01's full-sized avatar
👾

Matheus Silva matheusdsilva01

👾
View GitHub Profile
@matheusdsilva01
matheusdsilva01 / index.js
Created November 27, 2022 23:50
Js code to find multiple numbers of 3 or 5
function fizzBuzz(n) {
// Write your code here
const numbers = [];
for (let i = 1; i <= n; i++) {
numbers.push(i)
}
const log = numbers.map(num => {
let numberIsMultiple3 = multiple3(num);