79691751

Date: 2025-07-06 12:47:23
Score: 1
Natty:
Report link
function long(str){
  let str2 = str.split(" ")
  let longe = '';

  for(let i = 0; i < str2.length; i++){
    if(str2[i].length > longe.length){
        longe = str2[i];
    }
  }
  return longe;
}
console.log(long("I love js and this iv very lovey language"));

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aman katiyar