Skip to content

add "origin" to confusing-browser-globals#17073

Open
danielrentz wants to merge 1 commit intofacebook:mainfrom
danielrentz:patch-2
Open

add "origin" to confusing-browser-globals#17073
danielrentz wants to merge 1 commit intofacebook:mainfrom
danielrentz:patch-2

Conversation

@danielrentz
Copy link
Contributor

The short one-worded "origin" is likely to be used as variable. The page origin should be accessed via "window.origin" for clarity.

The short one-worded "origin" is likely to be used as variable. The page origin should be accessed via "window.origin" for clarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants