Skip to content

Instantly share code, notes, and snippets.

@jonathantneal
Created October 31, 2019 18:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathantneal/6b5b3894e8873ff1d7d588104a1b0023 to your computer and use it in GitHub Desktop.
Save jonathantneal/6b5b3894e8873ff1d7d588104a1b0023 to your computer and use it in GitHub Desktop.
Naming Things is Hard: Opinionated 3 Letter Abbreviations
3 Letter Shorthand Instance
arr Array
bol Boolean
cls class
doc Document
dte Date
ele Element
fun Function
nod Node
num Number
obj Object
reg RegExp
str String
txt Text
3 Letter Shorthand Method
qsa document.querySelectorAll
qso document.querySelector
3 Letter Shorthand Operator
ino instanceof
spr spread
tyo typeof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment