Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIFII declared just after a require instruction without semicolon at the end leads to syntax error #1216
Comments
chisNaN
changed the title
IFII declare after a require instruction with no semicolon at the end leads to syntax error
IFII declared just after a require instruction without semicolon at the end leads to syntax error
Oct 16, 2018
This comment has been minimized.
This comment has been minimized.
|
Standard accepts the following: const foo = require('foo')
;(function () {
foo.bar('Hello, World!')
}())Out of curiosity though, why are you using IFII? With the scoping rules that I would be happy to take a look if you could post some code |
This comment has been minimized.
This comment has been minimized.
|
Anything to worry about, |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Jan 16, 2019
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Jan 16, 2019
stale
bot
closed this
Jan 24, 2019
lock
bot
locked as resolved and limited conversation to collaborators
Apr 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
chisNaN commentedOct 16, 2018
What version of standard?
any
What operating system, Node.js, and npm version?
any
What did you expect to happen?
no syntax error
What actually happened?
syntax error