-
Notifications
You must be signed in to change notification settings - Fork 480
Operations on Numbers & Strings #542
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
Comments
I agree with this proposal. |
I opened a PR for this: #581 |
arthurvr
added a commit
to arthurvr/learn.jquery.com
that referenced
this issue
Jan 4, 2015
Adding quote around an console.log output clarifies that it's actually a string. In this article this really makes sense. Closes jquerygh-581 Fixes jquerygh-542
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the "Operations on Numbers & Strings" at (http://learn.jquery.com/javascript-101/operators/); the comment after the console.log in the following code is misleading to novice programmers:
because it doesn't show that 12 is actually a string. So, surrounding 12 with quotes or better, just mentioning that 12 is a string; will make the concept simple to grasp.
The text was updated successfully, but these errors were encountered: