Press "Enter" to skip to content

Default Argument Examples in JavaScript


 These are the arguments which are meant for initializing value of variables with default values if user did not assign any value pass to function.

Program :



                     <script language=”javascript”>

                                     function display(a=0,b=0,c=0)










Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *