Update median exercise and add new throw/catch practice exercises

未关闭
#1,443 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@abdishakoor-dev 已经在做这个了。

开始于 2026年8月20日。

评估

这个 Issue 还没有评估数据。

描述

📅 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

主要语言
JavaScript
星标
1
派生
327
平均合并
3 小时 25 分钟
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CodeYourFuture/Module-Data-Groups 的其他 Issue

查看 CodeYourFuture/Module-Data-Groups 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。