Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[V3] Implement new Concept Exercise: equality

See original GitHub issue

This 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:


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
  • Understand the difference in how primitives are handled by each of the value-comparison operations

Out of scope

  • SameValueZero
  • Deep object comparison


  • equality


  • strings
  • numbers
  • booleans
  • objects
  • type-conversion


  • SameValueZero
  • Which equality algorithm is used by common built-in methods like Array.indexOf and Array.includes
  • When to use over strict equality comparison


If you have any questions while implementing the exercise, please post the questions as comments in this issue.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

shubhsk88commented, Dec 23, 2020

Yeah I will make sure that it will be clear and concise but you might need to take care of the stories 😅

junedevcommented, Jul 29, 2021

We decided to combine the concept “comparison” (which includes equality) and “conditionals” into one exercise and that exercise was already done ( 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 or if you can manage something bigger maybe would suit you.

Read more comments on GitHub >

github_iconTop 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 >
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 >
to chart a course for a future in which gender equity and equality are instilled in every ... Section III: Implementation . ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found