dialogs
dialogs copied to clipboard
ReferenceError: window is not defined
When running the example code I get
/home/
ReferenceError: window is not defined
If I run the same code in RunKit it suggests: Use global instead of window. RunKit is a node environment, so window and other browser features won’t exist. If you’re just trying to access the global object, you can simply use global instead.