question-mark
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:

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 and Array.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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
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 😅

0reactions
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 (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.

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

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found