Skip to content

Instantly share code, notes, and snippets.


Jenna jennazee

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jennazee on github.
  • I am jenna ( on keybase.
  • I have a public key whose fingerprint is F6EF 4A1B 2567 965A 383C D30F 2EFC 3270 C625 EFD8

To claim this, I am signing this object:


I wanted to do not something if the PerformanceTiming object wasn't available, so I started with something like this:

if (!window.performance || !window.performance.timing) {

DeMorgans law says that you can factor out the "not" and then flip the "and" to an "or" or vice versa. So, I was able to switch it to