missing.js is a library for JavaScript with some missing JavaScript functions.
Website: http://webman.io/missing.js
Version: 0.0.1
check if a variable of any kind is defined
if (isDefined(someVar))
{
// "someVar" is defined
}
else
{
// "someVar" is undefined
}
convert a string into camel case, like from "hello_world" to "helloWorld"
"hello_world".toCamelCase(); // returns "helloWorld"
convert a string into snake case, like from "helloWorld" to "hello_world"
"helloWorld".toSnakeCase(); // returns "hello_world"
All new js files should follow our code standards due to our usage of comment reader to create the help documents.
All contributions are more than welcome.