Always use the shorthand notation if the function is a method of an object or class `{ foo() { ... } }` or `class bar { foo() { ... } }`
unless it's a callback in which case you a fat arrow function should be used `{ cb: () => { ... } }`
|
||
|---|---|---|
| .. | ||
| input | ||
| util | ||
| base64.js | ||
| des.js | ||
| display.js | ||
| encodings.js | ||
| inflator.js | ||
| rfb.js | ||
| websock.js | ||