Skip to content

Instantly share code, notes, and snippets.

View Okoro91's full-sized avatar
🎯
Focusing

mi okoro Okoro91

🎯
Focusing
View GitHub Profile
@Gbahdeyboh
Gbahdeyboh / task1.js
Last active September 13, 2020 03:57
This is the solution to the first task of JavaScript Minna Internship
/**
STEP 1
- Check each letter in the sentence
- Check if it's uppercase
- If it's upper case, convert it to lower case and vice versa
*/
const isLowerCase = ( letter ) => {
const regex = /[a-z]/g;
const reg = new RegExp(regex);