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

can we create const ? #9

Open
Madejczyk opened this issue Apr 13, 2019 · 1 comment
Open

can we create const ? #9

Madejczyk opened this issue Apr 13, 2019 · 1 comment

Comments

@Madejczyk
Copy link

.emit('weatherNotification', { cityID: req.params.cityID, weather: req.body })

@Morton358
Copy link
Owner

You mean to create an earlier const variable with value : { cityID: req.params.cityID, weather: req.body } and emit by reference to these variable ?

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