Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function

function doSomething()
{
   var x;

   x = 10;
   y = 20;

   alert('x = ' + x);
   alert('y = ' + y);
}
Source by blog.niftysnippets.org #
 
PREVIOUS NEXT
Tagged: #function
ADD COMMENT
Topic
Name
6+2 =