77 * @returns {Record<string, number> } new score board
88 */
99export function createScoreBoard ( ) {
10- throw new Error ( 'Please implement the createScoreBoard function' ) ;
10+ throw new Error ( 'Remove this line and implement the function' ) ;
1111}
1212
1313/**
@@ -19,7 +19,7 @@ export function createScoreBoard() {
1919 * @returns {Record<string, number> } updated score board
2020 */
2121export function addPlayer ( scoreBoard , player , score ) {
22- throw new Error ( 'Please implement the addPlayer function' ) ;
22+ throw new Error ( 'Remove this line and implement the function' ) ;
2323}
2424
2525/**
@@ -30,7 +30,7 @@ export function addPlayer(scoreBoard, player, score) {
3030 * @returns {Record<string, number> } updated score board
3131 */
3232export function removePlayer ( scoreBoard , player ) {
33- throw new Error ( 'Please implement the removePlayer function' ) ;
33+ throw new Error ( 'Remove this line and implement the function' ) ;
3434}
3535
3636/**
@@ -42,7 +42,7 @@ export function removePlayer(scoreBoard, player) {
4242 * @returns {Record<string, number> } updated score board
4343 */
4444export function updateScore ( scoreBoard , player , points ) {
45- throw new Error ( 'Please implement the updateScore function' ) ;
45+ throw new Error ( 'Remove this line and implement the function' ) ;
4646}
4747
4848/**
@@ -52,5 +52,5 @@ export function updateScore(scoreBoard, player, points) {
5252 * @returns {Record<string, number> } updated score board
5353 */
5454export function applyMondayBonus ( scoreBoard ) {
55- throw new Error ( 'Please implement the applyMondayBonus function' ) ;
55+ throw new Error ( 'Remove this line and implement the function' ) ;
5656}
0 commit comments