Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined variable? #16

Open
Flinner opened this issue Apr 20, 2022 · 0 comments
Open

undefined variable? #16

Flinner opened this issue Apr 20, 2022 · 0 comments
Assignees

Comments

@Flinner
Copy link

Flinner commented Apr 20, 2022

someTimeTagWithoutDatetime ||

Hello! thanks for the amazing software

I think someTimeTagWithoutDatetime is undefined, the function errors and then I get no pop-up

for context, this is what i wanted to refrence: https://www.fluke.com/en-us/learn/blog/power-quality/power-factor-formula

I fixed the error by removing the variable

more context:

const pageTime = new Date(
publishedTime ||
someTimeTag ||
someTimeTagWithoutDatetime ||
lastModifiedTime
);

The error

Uncaught ReferenceError: someTimeTagWithoutDatetime is not defined
    at <anonymous>:56:7
    at <anonymous>:95:3

@dmstern dmstern self-assigned this Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants