Skip to content

Instantly share code, notes, and snippets.

Jenna jennazee

Block or report user

Report or block jennazee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jennazee on github.
  • I am jenna (https://keybase.io/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:

View demorgans.md

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) {
    return;
}

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

You can’t perform that action at this time.