-
Notifications
You must be signed in to change notification settings - Fork 230
Susy201029 #438
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
Susy201029 #438
Conversation
1. Without a real sorting part, the data output is not the same as with real sort (as the array is not really sorted when the callback returns `undefined`). 2. Current example may somehow encourage a reader to write sorting callbacks with undetermined behavior.
As of the last versions of V8 (i.e. Chrome and Node.js), the current info seems outdated. See also https://v8.dev/blog/array-sort
The page of the current link has not this anchor anymore.
Proposed solution is in sync with some previous sort function examples. It also makes sorting stable (does not skip `0` result).
Fix link in 1.5.3
Make a solution of 1.5.5 task more correct
Fix a typo in a 1.5.5 task solution
Mention arr.flat()/arr.flatMap() in 1.5.5
Add a note on some()/every() short circuit
Fix some possible typos and omissions in 1.5.5
Correct outdated info
Fix typos in 1.5.3
Make code example more realistic and safe
This updates a small grammar error and adds some helpful info. Hoping it's better now. Let me know if you need any more changes and I'll update it immediately.
Updated based on suggestion on issue #1769
Update task.md
It seems there are no polymorphic functions in this chapter.
Fix possibly outdated note in 1.9.6 (instanceof)
Include "object" in MDN link
Update task.md
Minor clarification on WeakMap and WeakSet
Replace rules.indent array with number
Update topic sentence
Fix links in 1.8.4 (Prototype methods)
Add emphasis for clarity
Update article.md
Delete excess semicolon in 1.9.1 (Class basic syntax)
Clarify task code place in 1.9.1 (Class basic syntax)
Add missing semicolons in 1.9.2 (Class inheritance)
Al hacer merge revisar:1-5-8 article WeakMap y WeakSet Cambios descartados y pasados a issues:1-4-7 optional-chaining article , 9-16 regexp-sticky article |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pequeñas correcciones...
Co-authored-by: ᐯᑭᒪEᑎTIᑎᗩ᙭ ᐯᑭ <[email protected]>
No description provided.