[V3] Implement new Concept Exercise: equality
See original GitHub issueThis issue describes how to implement the equality
concept exercise for the JavaScript track.
Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism’s maintainers’ time. So, before diving into the implementation, please read up on the following documents:
Please also watch the following video:
Goal
This exercise aims to teach students how to compare values for equality.
Learning objectives
- Know how to use the abstract equality operator (“double equals”)
- Know how to use the strict equality operator (“triple equals”)
- Know how to use
Object.is()
- Understand the difference in how primitives are handled by each of the value-comparison operations
Out of scope
SameValueZero
- Deep object comparison
Concepts
equality
Prerequisites
strings
numbers
booleans
objects
type-conversion
After
SameValueZero
- Which equality algorithm is used by common built-in methods like
Array.indexOf
andArray.includes
- When to use
Object.is()
over strict equality comparison
Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Lesson plan ideas - Equality and Human Rights Commission
This lesson starts with a thinking skills activity which aims to reveal students own prejudicial and stereotypical views in order to introduce the...
Read more >toolkit-for-mainstreaming-and-implementing-gender-equality.pdf
It highlights a range of possible actions to take and pitfalls to avoid in: institutionalising gender equality and gender mainstreaming; supporting gender ...
Read more >An Introduction to Equality of Opportunity
Freedom and equality are foundational values that we draw upon when envisioning a better society. Equality of opportunity is a social ideal that...
Read more >RISE Module: Equality vs. Equity
The idea of equality is key to the notion that everyone will be able to achieve based on their efforts and contributions to...
Read more >NATIONAL STRATEGY ON GENDER EQUITY AND EQUALITY
to chart a course for a future in which gender equity and equality are instilled in every ... Section III: Implementation . ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah I will make sure that it will be clear and concise but you might need to take care of the stories 😅
We decided to combine the concept “comparison” (which includes equality) and “conditionals” into one exercise and that exercise was already done (https://github.com/exercism/javascript/pull/1037). So I am closing this issue.
@shubhsk88 Sorry nobody got back to you earlier. If you still want to help out with V3, have a look at the more recent open issues. There are some nice smaller ones like https://github.com/exercism/javascript/issues/1019 or if you can manage something bigger maybe https://github.com/exercism/javascript/issues/1049 would suit you.