PDA

View Full Version : Creating a Function :)



nckenn
5 Aug 2014, 12:39 AM
Good day, can anyone tell me on how can i create my own function, is there a syntax to do it?

AJAIN32
5 Aug 2014, 1:48 AM
In Javascript a function can be written as -

YourFunctionName : function(){

// your code here

}

You want to create functions or want to do something else ?

Regards,
Ankit