atob nodejs

atob nodejs 1

// If you need to convert to Base64 you could do so using Buffer: console.log(Buffer.from(‘Hello World!’).toString(‘base64’)); // Reverse (assuming the …

Read more

js bmi calculator

js bmi calculator 9

// function that caclulates BMI function bmiCalc(weight, height){ var bmiResult = weight / Math.pow(height, 2); var roundedResult = Math.floor(bmiResult); return …

Read more