How do I correctly pass the starting and ending index into such a record?

  • 0
    for (i; i < args.length; i++) {
        result += args[i]["splice"]();
    }

    There is such an entry - where you can refer to each element of the array iterating through the loop with the desired method -
    args [i] ["splice"] ()
    Question: how to pass start and end index in such a construction?
    agrs.splice (index0, index5);
    JavaScript Anonymous, Aug 24, 2020

  • 1 Answers
  • 0
    Reply in comments
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!