More:C#JavaScriptComicsPhotographyBooksFitne...
Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts
Monday, December 31, 2012
Wednesday, March 9, 2011
Required And Optional Function Parameters
I love using different programming languages. Whether it's C#, PHP, Python or Ruby on Rails, they each have their strengths, which makes finishing projects faster. Choose the best tool for the problem.Today a project I'm working on required an additional parameter to a Javascript method that was already called in several files. In C# I could write an overload methodUse Overloading in C# versions below 4[csharp]public void MyFunctionA (int par1, int par2){ //some code}public void MyFunctionA (int par1, int par2, string...
Subscribe to:
Posts (Atom)