CodeYourFuture / CodeYourFuture/Module-Data-Groups

Update median exercise and add new throw/catch practice exercises

オープン
#1,443 コメント 0 件 リアクション 0 件 担当者 1 名 @abdishakoor-dev が担当を希望しています GitHub で見る
📅 Sprint 1 NotCoursework
主要言語
JavaScript
スター
1
フォーク
326
平均マージ
3時間 25分
マージ済み PR(30日)
2

説明

**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](https://github.com/CodeYourFuture/curriculum/pull/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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。