Hi! Currently, I am studying JavaScript with Rolling Scopes School. I also have diverse experience in IT. I graduated from the Faculty of Applied Mathematics at BSU, worked for three years as a Business Intelligence Developer, and for the past two years, I have been working as an HR manager, helping to develop a startup. Additionally, I am constantly learning new things, and although I didn’t like JavaScript in university, I decided to give it a second chance. As well, I hope this course will help me in recruiting and communication.
HR&Product manager at Khazatech
function compare(s1, s2) {
if (/^\D+$/gi.test(s1) && /^\D+$/gi.test(s2))
return s1.split('').map(n => n.toUpperCase().charCodeAt()).reduce((a, b) => a + b) ===
s2.split('').map(n => n.toUpperCase().charCodeAt()).reduce((a, b) => a + b);
return true;
}