How to create a function in JavaScript?

How to create a function in JavaScript?

Junior Developer Asked on June 16, 2017 in JAVASCRIPT.
Add Comment
1 Answer(s)
 
<script type="text/javascript">

function function_name(){

//function body

}

</script>
IT Head Answered on June 20, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.