Maybe one day I'll add some:
default
//////////////////////
// Debugging on a page
/*
var nonos = [];
for (var ii in window){
nonos.push(ii)
};
alert(nonos.join("\n"));
*/
// This can be used to get all globals on a page
//end-debugging-on-a-page
/////////////////////////
/*
Block comment
aka Multi-line comment
Do not use block comments to comment out code.
Regular expressions are one reason for this.
*/
// A line ending comment
// Comment out code with these.
// All varaibles are global
/*
False values are:
false, null, undefined, '', 0, NaN
*/
// An empty object
// Simple object creation and retrieval
// Default value using ||
/////////////////////////
// Regular Expressions //
// ------------------- //
// ?+*|.^$\/[](){} must be escaped in a regex
// -^[]/\ must be escaped in a [regex class]
// Three flags are: g, i, m
// g = global
// i = case-insensitive
// m = multiline
// The first match will be taken, rest ignored
// /x{5}/ is another way to write /xxxxx/
// {4,5} = 4 or 5 matches
// ? = 0 or 1 = {0,1}
// * = 0 or more = {0,}
// + = 1 or more = {1,}
//end-regular-expressions
/////////////////////////
default