Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

call by value and call by reference in javascript

<script>
var a=5;
var b;
b = a
a = 3
console.log(a)
console.log(b)
</script>
 
PREVIOUS NEXT
Tagged: #call #call #reference #javascript
ADD COMMENT
Topic
Name
2+2 =