Method or website can analyze the code publication to see the steps of the code running?

1. The foundation is very poor, want to find a string of code, or analysis tools to help you understand.
as follows:

var str = "i,am,cool,i,love,wz";
        String.prototype.mySplit = function(sqrt){
            var result = [];
            var a = 0;
            var b = 0;
            console.log(this.length)
            for(var i = 0;i<this.length;iPP){
                if(this[i]==sqrt||i==this.length){
                    result[b]="";
                    //j = a = 0; 
                    for(var j = a;j<i;jPP){
                      result[b]+=this[j];
                    }
                    bPP;
                    a=i+1; 
                }
            }
            return result;
        }
        console.log(str.mySplit(","))

I always feel that I don"t understand this kind of nested code thoroughly!-sharp-sharp-sharp topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jun.09,2022

found the answer for yourself! pythontutor.com/javascript.html-sharpmode=edit" rel=" nofollow noreferrer "> http://pythontutor.com/javasc...
? Why doesn't anyone help each other?.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44164-44a94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44164-44a94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?