Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Update median exercise and add new throw/catch practice exercises

Offen
#1,443 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@abdishakoor-dev arbeitet bereits daran.

Seit 20.8.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

📅 Sprint 1 NotCoursework

Which module(s) and week(s) does this change affect?
Module(s): Data Groups
Week(s): Sprint 1

What is the work that needs to be done?

Sprint-1/fix/median.js currently expects calculateMedian to return null/silently filter bad values, which now contradicts the error handling fundamentals content (curriculum#1949) that teaches throwing instead. Update this exercise to match, and add new exercises giving trainees practice throwing and catching errors.

Why is this work important to do?

Suggested by @illicitonion during review of curriculum#1949. Keeps exercises consistent with newly taught content.

Additional context

Who might need to know about this change?

@illicitonion

Vorherrschende Sprache
JavaScript
Sterne
1
Forks
327
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CodeYourFuture/Module-Data-Groups

Alle Issues in CodeYourFuture/Module-Data-Groups

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.