Skip to content

Avoid obscure jargon "hash" #1680

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

Closed
erights opened this issue Dec 25, 2017 · 1 comment
Closed

Avoid obscure jargon "hash" #1680

erights opened this issue Dec 25, 2017 · 1 comment

Comments

@erights
Copy link

erights commented Dec 25, 2017

https://github.com/airbnb/javascript#events--hash says

pass a hash instead of a raw value

This use of "hash" is obscure jargon. Use "object literal".

@ljharb
Copy link
Collaborator

ljharb commented Dec 25, 2017

It's not that obscure; former PHP and Ruby devs use the term colloquially to mean anything with simple key-value lookup, like a JS object.

That said, this is a good change.

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