Ad
  • Default User Avatar

    '1234'.split('') = ['1' ,'2' ,'3' ,'4'];

    n => n < 5,n is a string and 5 is not,is it possible to compare a string with the number(if not) ,then how the above code worked(without converting n to integer value);