Getting a URL Parameter in Javascript
When programming in Javascript there are times when you might want to know if there were any parameters passed through the URL. In case you aren’t familiar with URL parameters, they are the arguments…
Read the full articleYou might also wanna read
Don't ever write your own function to parse URL parameters
Sometimes the platform we are building on provides more functionality than we can keep in our own heads. However, depending on the problem,
JavaScript Functions: Parameters and Return Values
Define and call JavaScript functions: parameters, return values, default parameters, and why functions are the heart of the language.
Web API Mapping QueryString/Form Input
If you’re using the Web API as part of the MVC4 framework, you may encounter a scenario in which you must map parameters of strange names to
Why boolean parameters make code harder to read (and what to use instead)
createUser(user, true, false) works. It's also surprisingly hard to read. Here's why I've stopped writing APIs like this in JavaScript.

Secure JavaScript URL validation
When developers need to handle URLs, we often turn to Java. However, its frequent use motivates attackers to exploit its vulnerabilities. Th

Groovy default params to avoid one-argument methods being called without params
Recently, I saw an interesting tweet , mentioning a JavaScript trick using default parameters to make a parameter mandatory. In a language l

Comments
Sign in to join the conversation.
No comments yet. Be the first.