Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript function

function doSomething()
{
   var x;

   x = 10;
   y = 20;

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