<p><b>How to use call by reference in Javascript functions with Example</b></p>
function addAdditionalNames(userNames){ userNames.push("Sarathy"); userNames.push("Gopal"); userNames.push("Lakshanya"); } var userNames = new Array(); userNames.push("Raja"); userNames.push("Vijay"); userNames.push("Kumar"); document.write(userNames+"<br />"); addAdditionalNames(userNames); document.write(userNames+"<br />");
Do you want to delete a "" lesson. Warning! This delete will remove all it's sub lessons and contents.
Do you want to delete a "" sub lesson. Warning! This delete will remove all it's contents.
Do you want to delete content.
Do you want to remove selected book from favorite books.
Do you want to delete selected author from your authors list.