Ad
  • Default User Avatar

    In the second case you are modifying the scope var args in resulting function call

    args = args.concat(args1)
    

    , which can lead to incorrect behavior at its subsequent calls: