I have never understood it. For actual parameters, I will add $ in front of the jquery object and use camel case to name it. For other string arrays, I will use str/arr and use camel case to name it. This actual parameter is not bad. I don’t know how to name the key formal parameters. Sometimes I name them the same as the actual parameters. For example, the actual parameter is $this=$(this), and my formal parameter is $this or obj/ele. I don’t know how to name it. I found that other people named them differently, which was very confusing. Also, maybe there is something wrong with my understanding of actual parameters and formal parameters. For example, $(this) in var $this=$(this) is an actual parameter, and the x in function funName (x){} is a formal parameter, which is Do you understand this?
There are no rules, just name it whatever you want, don’t violate the basic naming rules.
You can understand that the formal parameter is the definition of the method or function, and the actual parameter is the parameter passed when calling the method or function. This parameter is the actual parameter. The actual parameter will be received by the formal parameter defined by the function or method. It is that simple. !