Wednesday, October 22, 2014

pass parameter in javascript

Posted by Gnani Palepu  |  No comments

 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  
 javascript for call by val and call by reference      
 <script>  
       function testfun(value) {  
         value = value + 100;  
         console.log("New Value:-" + value);  
       }  
       var value = 100;  
       testfun(value);  
       console.log('Outsideof function:- ' +value);  
     </script>  
 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  

4:14 AM Share:

0 comments:

Get updates in your email box
Complete the form below, and we'll send you the best coupons.

Deliver via FeedBurner
Proudly Powered by Blogger.
back to top