Home > front end > Small white ask array to weight problems
Small white ask array to weight problems
Time:12-05
more than two to weight is not the same as the one above is to use j to and I than, and below than that using the I and j, where is the difference between the two just learn less than a week js is the wound received
CodePudding user response:
There is no difference, it is a variable
CodePudding user response:
Variable I began from 0 The variable j starts 1Arr. Splice (I, 1) Delete the array arr. Splice (j, 1) is not the same as the starting position of the
CodePudding user response:
Splice method two parameters, the first is the location of array index, the second parameter number; Splice (0, 1); Is deleted from the position of the index of 0, 1 element;