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)

All
Other
defect

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.
Assignee: nobody → jwalden+bmo
Whiteboard: u=webdev p=0
Priority: P5 → P4
Whiteboard: u=webdev p=0 → u=webdev p=2 c=JavaScript
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: jwalden+bmo → Sevenspade
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(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!
> 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.
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.