Empty array |
|
|
---|---|---|
Multiple items |
|
|
After block comment |
|
|
---|---|---|
Block comments |
|
|
Block comments in blocks |
|
|
Block comments with space |
|
|
Comment before function |
|
|
Comments in if blocks |
|
|
Indented jsdoc comments |
|
|
Line comments |
|
|
Line comments before function |
|
|
Multiple functions with multiple comments |
|
|
Program block comment after |
|
|
Program block comment before |
|
|
Program block comment sole |
|
|
Program with only comments |
|
|
Sole block comment |
|
|
Trailing line comment |
|
|
Assignment of reserved words |
|
|
---|---|---|
Assignment of reserved words off |
|
|
Empty array slots |
|
|
Empty array slots off |
|
|
Equals |
|
|
Equals off |
|
|
Named function expressions |
|
|
Named function expressions off |
|
|
Undefined |
|
|
Undefined off |
|
|
Mixed params |
|
|
---|---|---|
Mixed params 2 |
|
|
With defaults |
|
|
With non literal defaults |
|
|
Breakless switch |
|
|
---|---|---|
Reserved keyword |
|
|
Reserved keyword in params |
|
|
Reserved keyword in var |
|
|
Switch default cases |
|
|
With |
|
|
Call with function expression |
|
|
---|---|---|
Call with function indented |
|
|
Call with function then object |
|
|
Call with multiple objects |
|
|
Call with object |
|
|
Call with param after function |
|
|
Chaining |
|
|
Expression with call |
|
|
Iife with different argument names |
|
|
Dont unpack returns in incomplete ifs |
|
|
---|---|---|
Function reordering |
|
|
Functions after var |
|
|
Functions in ternaries |
|
|
Multiple declarations |
|
|
Multiple expressions |
|
|
Named function expressions |
|
|
Nested declarations |
|
|
Nested functions in object |
|
|
Prevent implicit returns |
|
|
Return object |
|
|
Return statement |
|
|
Undefined in function expression parameters |
|
|
Undefined in parameters |
|
|
Unpacking returns |
|
|
Unpacking returns in ifs |
|
|
Unpacking returns in ifs with elses |
|
|
Unpacking returns in nested ifs |
|
|
With arguments |
|
|
Global assignment |
|
|
---|---|---|
Global assignment compat |
|
|
In function params |
|
|
Blank ifs |
|
|
---|---|---|
Blank ifs with comments |
|
|
Else if |
|
|
Escaping if functions |
|
|
Escaping if functions with indent |
|
|
If blocks |
|
|
If statement |
|
|
If with else |
|
|
If with else if inside functions |
|
|
If with else inside functions |
|
|
If with nesting |
|
|
Multiple else ifs |
|
|
Non block consequents |
|
|
Ternary in if |
|
|
Ternary in if and binary |
|
|
Iife |
|
|
---|---|---|
Iife as an expression |
|
|
Iife with arguments |
|
|
Iife with multiple arguments |
|
|
Iife with non matching arguments |
|
|
Iife with non matching literal arguments |
|
|
Spaces 4 |
|
|
---|---|---|
Spaces 8 |
|
|
Tab |
|
|
Anon invocation |
|
|
---|---|---|
Array literals |
|
|
Assign |
|
|
Bitwise shift |
|
|
Blank lines |
|
|
Block comments |
|
|
Call statement |
|
|
Crlf |
|
|
Debugger |
|
|
Delete |
|
|
Do |
|
|
Dont unreserve property accessors |
|
|
Empty function |
|
|
Empty function bodies |
|
|
Empty semicolon |
|
|
Equal regex |
|
|
Floating point numbers |
|
|
For |
|
|
For in |
|
|
Function order |
|
|
Function property |
|
|
Function with keyword |
|
|
If in |
|
|
Increment decrement |
|
|
Index |
|
|
Numbers |
|
|
Or |
|
|
Parenthesized new |
|
|
Return function |
|
|
Simple addition |
|
|
Single line else |
|
|
Single return |
|
|
Switch |
|
|
Ternary |
|
|
This attribute |
|
|
This keyword |
|
|
Throw |
|
|
Unary |
|
|
Var |
|
|
Continue statement |
|
|
---|---|---|
Do while |
|
|
Do while with other statements |
|
|
Empty while |
|
|
For in with if |
|
|
For in with var |
|
|
For with continue |
|
|
For with continue with switch |
|
|
For with continue without init |
|
|
For with if |
|
|
For with no arguments |
|
|
For with no body |
|
|
For with no init |
|
|
For with no test |
|
|
For with no update |
|
|
Forever loop |
|
|
Indented for |
|
|
Simple for |
|
|
While |
|
|
While with break |
|
|
While with no body |
|
|
Identifier in brackets |
|
|
---|---|---|
Identifiers |
|
|
Prototype |
|
|
This prototype |
|
|
New operator |
|
|
---|---|---|
New operator with arguments |
|
|
New with complex callee |
|
|
New with function expression |
|
|
New with function expression and string |
|
|
Arrray of objects |
|
|
---|---|---|
Call with object |
|
|
Multiple object expressions |
|
|
Multiple properties |
|
|
Nested objects |
|
|
Nesting into a single line |
|
|
Object with arrays |
|
|
Simple object |
|
|
Single object expression |
|
|
Singleton with methods |
|
|
Unusual identifiers |
|
|
Addition and multiplication |
|
|
---|---|---|
Binary expressions |
|
|
Binary expressions with parens |
|
|
Call expression |
|
|
Instanceof and function call |
|
|
Intransitive operations division |
|
|
Intransitive operations subtraction |
|
|
Logical operators |
|
|
Nested new |
|
|
Nested ternary |
|
|
Nested ternary 2 |
|
|
Parenthesized classname in new |
|
|
Strip useless parens |
|
|
Ternary and assignment |
|
|
Typeof and member expression |
|
|
Blank with flag |
|
|
---|---|---|
Equals |
|
|
Equals with flag |
|
|
Var shadowing |
|
|
---|
Array newlines |
|
|
---|---|---|
Binary operators |
|
|
Booleans |
|
|
Call with function |
|
|
Debugger statement |
|
|
Delete |
|
|
Empty statement |
|
|
Empty statement with other statements |
|
|
Exponents |
|
|
Exponents precedence |
|
|
Exponents with strange arguments |
|
|
Function call |
|
|
Function call with arguments |
|
|
Function in switch |
|
|
Increment |
|
|
Indentation of parentheses |
|
|
Indented throw |
|
|
Index resolution |
|
|
Index resolution of expression |
|
|
Index resolution of strings |
|
|
Index resolution with this |
|
|
Inline assignment |
|
|
Logical expressions |
|
|
Multiple unary operators |
|
|
Nested function calls |
|
|
Nesting if and assignment |
|
|
Null check |
|
|
Prefix increment |
|
|
Prototype |
|
|
Recursing into new functions |
|
|
Return nothing |
|
|
Scientific notation |
|
|
Sequence expression |
|
|
Sequence expression with indent |
|
|
Standalone this |
|
|
Ternary operator |
|
|
Ternary operator nesting |
|
|
This prefix |
|
|
Throw |
|
|
Void 0 |
|
|
Block comments |
|
|
---|---|---|
Collapsing extra newlines |
|
|
Assignment in condition |
|
|
---|---|---|
Unary and object expression |
|
|
Unary and object with call |
|
|
Empty string |
|
|
---|---|---|
Prevent interpolation |
|
|
Simple string |
|
|
Single quotes |
|
|
String with escapes |
|
|
Unicode |
|
|
Case consolidation |
|
|
---|---|---|
Case consolidation with default |
|
|
Switch |
|
|
Switch with comments |
|
|
Switch with conditional expression |
|
|
Switch with continue |
|
|
Switch with return |
|
|
No finally |
|
|
---|---|---|
Try catch finally |
|
|
Try with indent |
|
|
Mixed var declarations |
|
|
---|---|---|
Multiple var declaration |
|
|
Multiple var declarations with indent |
|
|
Var declaration |
|
|
Var without initializer |
|
|
Equals |
|
|
---|---|---|
For in without var |
|
|
Shadowing |
|
|