is there a boss who can help explain the principle of this line of code? Yesterday, a big guy in the group shared the method. I used it and realized the function, but I don"t understand why, which are vue and which are js native
nextRoute.indexOf (to.name). In this line, I really don"t understand