Quick JS OOP question

+2 Benjamin Zimmerman · December 16, 2014
I need to pass some parameters to a method. How would I do that?

Post a Reply

Replies

Oldest  Newest  Rating
+1 Steven the awesome · December 18, 2014
You can do it like this.

or you can visit this link -> http://www.w3schools.com/js/js_function_parameters.asp
<script>

function count(parameter1, parameter2)
{

}

</script>
  • 1

Javascript

107,331 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators