function equalsIgnoreCase(str1, str2) {
return str1.toLowerCase() === str2.toLowerCase();
}
const str1 = "profession: node.js Programmer";
const str2 = "Profession: NODE.JS PROGRAMMER";
const equals = equalsIgnoreCase(str1, str2);
console.log(equals);
/*
run:
true
*/