1<! DOCTYPE html>234<meta charset= "UTF-8" >5<title></title>67<body>8<script>9 //Pass by value: When you assign a value between two variables, or pass a variable as an argument to a function, you copy only one copy of the value from the original variable to the other.Ten //value of the original type: Modify the new variable without affecting the original variable One varA=3; A varB=a;//a copy your value to a copy to B -a++; -Console.log (b);//3 theConsole.log (a);//4 - //object of reference type: Modify the object with the original variable, and the new variable is also affected. Because two variables refer to the same object - vardd=[' package ', ' package ', ' package ', ' package ', ' package ']; - varxx=DD; +dd.length--; -Console.log (String (xx));//4 +Console.log (String (DD));//4 A</script> at</body> -javascript-Data Reference type Object