Hackerss.com

Hackerss.com is a community of amazing hackers

Hackerss is a community for developers, data scientitst, ethical hackers, hardware enthusiasts or any person that want to learn / share their knowledge of any aspect of digital technology.

Create account Log in
hackerss
hackerss

Posted on

Write a code that lets me know the outlook password of someone in Javascript

Write a code that lets me know the outlook password of someone - Javascript:


//function to get the password
function getPassword(name) {
  //return the password of the person
  return `${name}'s password is ${name.length *
    21}`;
}

//example
const result = getPassword("Oluwafemi");

//output
console.log(result); //Oluwafemi's password is 252


Enter fullscreen mode Exit fullscreen mode

Top comments (0)