Closed
Bug 856149
Opened 11 years ago
Closed 11 years ago
Write an MDN article explaining the various equality operators and functions in JavaScript
Categories
(Developer Documentation Graveyard :: JavaScript, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Assigned: crussell)
Details
(Whiteboard: u=webdev p=2 c=JavaScript)
:: Developer Documentation Request Request Type: New Documentation Gecko Version: unspecified Technical Contact: :: Details JavaScript has the == and === operators, as well as in ES6 the Object.is() function. We should have an article on MDN that explains these and how they're different, as well as possible use cases for each.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → jwalden+bmo
Reporter | ||
Updated•11 years ago
|
Whiteboard: u=webdev p=0
Reporter | ||
Updated•11 years ago
|
Priority: P5 → P4
Whiteboard: u=webdev p=0 → u=webdev p=2 c=JavaScript
Comment 1•11 years ago
|
||
Probably this is not sufficient, but I've added the following sentence to "Expressions and operators": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators$compare?to=422537&from=418583
Assignee | ||
Comment 2•11 years ago
|
||
I wrote a thing: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Sameness
Assignee | ||
Updated•11 years ago
|
Assignee: jwalden+bmo → Sevenspade
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
(In reply to Colby Russell :crussell from comment #2) > I wrote a thing: > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Sameness Woah ! Excellent ! Thanks!
Assignee | ||
Comment 4•11 years ago
|
||
> 11:40 < crussell> someone add JavaScript/Guide/Sameness to
> https://developer.mozilla.org/en-US/docs/Template:JSGChapters, please
> 11:40 < crussell> after "Expressions and Operators"
^ Do that, please.
Comment 5•11 years ago
|
||
Done (though the page using this template will need to be regenerated by ashift-reload)
You need to log in
before you can comment on or make changes to this bug.
Description
•