mirror of
https://github.com/novnc/noVNC.git
synced 2026-08-29 16:40:26 +08:00
0e4808bf6f
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: () => { ... } }`