diff --git a/exercises/practice/accumulate/accumulate.js b/exercises/practice/accumulate/accumulate.js index 55d1745771..a15eb3fa37 100644 --- a/exercises/practice/accumulate/accumulate.js +++ b/exercises/practice/accumulate/accumulate.js @@ -4,5 +4,5 @@ // export const accumulate = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/acronym/acronym.js b/exercises/practice/acronym/acronym.js index 45e9a0e57d..e42d87a751 100644 --- a/exercises/practice/acronym/acronym.js +++ b/exercises/practice/acronym/acronym.js @@ -4,5 +4,5 @@ // export const parse = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/affine-cipher/affine-cipher.js b/exercises/practice/affine-cipher/affine-cipher.js index 545736f6ab..e2b1330623 100644 --- a/exercises/practice/affine-cipher/affine-cipher.js +++ b/exercises/practice/affine-cipher/affine-cipher.js @@ -1,7 +1,7 @@ export const encode = (phrase, key) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const decode = (phrase, key) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/all-your-base/all-your-base.js b/exercises/practice/all-your-base/all-your-base.js index ce43914067..644bfb7142 100644 --- a/exercises/practice/all-your-base/all-your-base.js +++ b/exercises/practice/all-your-base/all-your-base.js @@ -4,5 +4,5 @@ // export const convert = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/allergies/allergies.js b/exercises/practice/allergies/allergies.js index acf1d5376f..f0b7ef3207 100644 --- a/exercises/practice/allergies/allergies.js +++ b/exercises/practice/allergies/allergies.js @@ -5,14 +5,14 @@ export class Allergies { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } list() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } allergicTo() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/alphametics/alphametics.js b/exercises/practice/alphametics/alphametics.js index fd5babdcdc..a53b20e597 100644 --- a/exercises/practice/alphametics/alphametics.js +++ b/exercises/practice/alphametics/alphametics.js @@ -4,5 +4,5 @@ // export const solve = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/anagram/anagram.js b/exercises/practice/anagram/anagram.js index 0733d01302..2b63d207d5 100644 --- a/exercises/practice/anagram/anagram.js +++ b/exercises/practice/anagram/anagram.js @@ -4,5 +4,5 @@ // export const findAnagrams = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/armstrong-numbers/armstrong-numbers.js b/exercises/practice/armstrong-numbers/armstrong-numbers.js index d3ff1cdc3b..31eba9f6f4 100644 --- a/exercises/practice/armstrong-numbers/armstrong-numbers.js +++ b/exercises/practice/armstrong-numbers/armstrong-numbers.js @@ -4,5 +4,5 @@ // export const isArmstrongNumber = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/atbash-cipher/atbash-cipher.js b/exercises/practice/atbash-cipher/atbash-cipher.js index 18545fb900..ef98d1956a 100644 --- a/exercises/practice/atbash-cipher/atbash-cipher.js +++ b/exercises/practice/atbash-cipher/atbash-cipher.js @@ -4,9 +4,9 @@ // export const encode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const decode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/bank-account/bank-account.js b/exercises/practice/bank-account/bank-account.js index 8c2448180a..7ce11bf802 100644 --- a/exercises/practice/bank-account/bank-account.js +++ b/exercises/practice/bank-account/bank-account.js @@ -5,27 +5,27 @@ export class BankAccount { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } open() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } close() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } deposit() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } withdraw() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get balance() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/beer-song/beer-song.js b/exercises/practice/beer-song/beer-song.js index 8340bc23bd..0c93f00a4e 100644 --- a/exercises/practice/beer-song/beer-song.js +++ b/exercises/practice/beer-song/beer-song.js @@ -4,5 +4,5 @@ // export const recite = (initialBottlesCount, takeDownCount) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/binary-search-tree/binary-search-tree.js b/exercises/practice/binary-search-tree/binary-search-tree.js index eeb74c3a3e..bcfa41475c 100644 --- a/exercises/practice/binary-search-tree/binary-search-tree.js +++ b/exercises/practice/binary-search-tree/binary-search-tree.js @@ -5,25 +5,25 @@ export class BinarySearchTree { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get data() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get right() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get left() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } insert() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } each() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/binary-search/binary-search.js b/exercises/practice/binary-search/binary-search.js index 88e2fa3063..4589a19e66 100644 --- a/exercises/practice/binary-search/binary-search.js +++ b/exercises/practice/binary-search/binary-search.js @@ -4,5 +4,5 @@ // export const find = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/binary/binary.js b/exercises/practice/binary/binary.js index dfbca26ec8..d5fc4e68e5 100644 --- a/exercises/practice/binary/binary.js +++ b/exercises/practice/binary/binary.js @@ -5,10 +5,10 @@ export class Binary { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toDecimal() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/bob/bob.js b/exercises/practice/bob/bob.js index cc8a6fe97a..fde9cb9c80 100644 --- a/exercises/practice/bob/bob.js +++ b/exercises/practice/bob/bob.js @@ -4,5 +4,5 @@ // export const hey = (message) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/book-store/book-store.js b/exercises/practice/book-store/book-store.js index b8cc26b5af..11a6fb7c30 100644 --- a/exercises/practice/book-store/book-store.js +++ b/exercises/practice/book-store/book-store.js @@ -4,5 +4,5 @@ // export const cost = (books) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/bottle-song/bottle-song.js b/exercises/practice/bottle-song/bottle-song.js index 9ca0344e6e..4d05f10d57 100644 --- a/exercises/practice/bottle-song/bottle-song.js +++ b/exercises/practice/bottle-song/bottle-song.js @@ -4,5 +4,5 @@ // export const recite = (initialBottlesCount, takeDownCount) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/bowling/bowling.js b/exercises/practice/bowling/bowling.js index 9d83338b7c..d3b490db36 100644 --- a/exercises/practice/bowling/bowling.js +++ b/exercises/practice/bowling/bowling.js @@ -5,10 +5,10 @@ export class Bowling { roll() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } score() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/change/change.js b/exercises/practice/change/change.js index a1e61fa949..0288c23657 100644 --- a/exercises/practice/change/change.js +++ b/exercises/practice/change/change.js @@ -5,6 +5,6 @@ export class Change { calculate(coinArray, target) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/circular-buffer/circular-buffer.js b/exercises/practice/circular-buffer/circular-buffer.js index ce5136f121..b35fb133a3 100644 --- a/exercises/practice/circular-buffer/circular-buffer.js +++ b/exercises/practice/circular-buffer/circular-buffer.js @@ -5,23 +5,23 @@ class CircularBuffer { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } write() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } read() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } forceWrite() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } clear() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } @@ -29,12 +29,12 @@ export default CircularBuffer; export class BufferFullError extends Error { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } export class BufferEmptyError extends Error { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/clock/clock.js b/exercises/practice/clock/clock.js index 7d77d7a4b1..bba0b5e594 100644 --- a/exercises/practice/clock/clock.js +++ b/exercises/practice/clock/clock.js @@ -5,22 +5,22 @@ export class Clock { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toString() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } plus() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } minus() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } equals() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/collatz-conjecture/collatz-conjecture.js b/exercises/practice/collatz-conjecture/collatz-conjecture.js index 28767bc3c2..cbc9af54fd 100644 --- a/exercises/practice/collatz-conjecture/collatz-conjecture.js +++ b/exercises/practice/collatz-conjecture/collatz-conjecture.js @@ -4,5 +4,5 @@ // export const steps = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/complex-numbers/complex-numbers.js b/exercises/practice/complex-numbers/complex-numbers.js index 9cf27f5b01..4fcd0799e8 100644 --- a/exercises/practice/complex-numbers/complex-numbers.js +++ b/exercises/practice/complex-numbers/complex-numbers.js @@ -5,42 +5,42 @@ export class ComplexNumber { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get real() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get imag() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } add() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } sub() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } div() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } mul() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get abs() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get conj() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get exp() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/connect/connect.js b/exercises/practice/connect/connect.js index c27a6b8c81..79aa964fa5 100644 --- a/exercises/practice/connect/connect.js +++ b/exercises/practice/connect/connect.js @@ -5,10 +5,10 @@ export class Board { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } winner() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/crypto-square/crypto-square.js b/exercises/practice/crypto-square/crypto-square.js index 82ab1001dc..d6d8927d61 100644 --- a/exercises/practice/crypto-square/crypto-square.js +++ b/exercises/practice/crypto-square/crypto-square.js @@ -5,10 +5,10 @@ export class Crypto { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get ciphertext() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/custom-set/custom-set.js b/exercises/practice/custom-set/custom-set.js index a203975de1..ca0d8f55fe 100644 --- a/exercises/practice/custom-set/custom-set.js +++ b/exercises/practice/custom-set/custom-set.js @@ -5,42 +5,42 @@ export class CustomSet { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } empty() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } contains() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } add() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } subset() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } disjoint() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } eql() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } union() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } intersection() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } difference() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/darts/darts.js b/exercises/practice/darts/darts.js index 7b6d4dd3de..8d7f78edb6 100644 --- a/exercises/practice/darts/darts.js +++ b/exercises/practice/darts/darts.js @@ -4,5 +4,5 @@ // export const score = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/diamond/diamond.js b/exercises/practice/diamond/diamond.js index 03b7ad0ce8..ffb3cab42d 100644 --- a/exercises/practice/diamond/diamond.js +++ b/exercises/practice/diamond/diamond.js @@ -4,5 +4,5 @@ // export const rows = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/difference-of-squares/difference-of-squares.js b/exercises/practice/difference-of-squares/difference-of-squares.js index 19aad4d0ba..b24e7b0150 100644 --- a/exercises/practice/difference-of-squares/difference-of-squares.js +++ b/exercises/practice/difference-of-squares/difference-of-squares.js @@ -5,18 +5,18 @@ export class Squares { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get sumOfSquares() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get squareOfSum() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get difference() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/diffie-hellman/diffie-hellman.js b/exercises/practice/diffie-hellman/diffie-hellman.js index c72e5dc1a2..8286f120e8 100644 --- a/exercises/practice/diffie-hellman/diffie-hellman.js +++ b/exercises/practice/diffie-hellman/diffie-hellman.js @@ -5,18 +5,18 @@ export class DiffieHellman { constructor(p, g) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } getPublicKey(privateKey) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } getSecret(theirPublicKey, myPrivateKey) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } getPrivateKey() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/dnd-character/dnd-character.js b/exercises/practice/dnd-character/dnd-character.js index dac0b6190d..e71613e7dd 100644 --- a/exercises/practice/dnd-character/dnd-character.js +++ b/exercises/practice/dnd-character/dnd-character.js @@ -4,39 +4,39 @@ // export const abilityModifier = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export class Character { static rollAbility() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get strength() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get dexterity() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get constitution() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get intelligence() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get wisdom() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get charisma() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get hitpoints() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/dominoes/dominoes.js b/exercises/practice/dominoes/dominoes.js index 2081ec1c5f..87292b287c 100644 --- a/exercises/practice/dominoes/dominoes.js +++ b/exercises/practice/dominoes/dominoes.js @@ -4,5 +4,5 @@ // export const chain = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/eliuds-eggs/eliuds-eggs.js b/exercises/practice/eliuds-eggs/eliuds-eggs.js index ac91f48723..9f552ac1fa 100644 --- a/exercises/practice/eliuds-eggs/eliuds-eggs.js +++ b/exercises/practice/eliuds-eggs/eliuds-eggs.js @@ -4,5 +4,5 @@ // export const eggCount = (displayValue) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/etl/etl.js b/exercises/practice/etl/etl.js index 9890b2afda..37958eeec1 100644 --- a/exercises/practice/etl/etl.js +++ b/exercises/practice/etl/etl.js @@ -4,5 +4,5 @@ // export const transform = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/flatten-array/flatten-array.js b/exercises/practice/flatten-array/flatten-array.js index 06de551447..56172f28aa 100644 --- a/exercises/practice/flatten-array/flatten-array.js +++ b/exercises/practice/flatten-array/flatten-array.js @@ -4,5 +4,5 @@ // export const flatten = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/food-chain/food-chain.js b/exercises/practice/food-chain/food-chain.js index 3704489537..ab2d6c4a48 100644 --- a/exercises/practice/food-chain/food-chain.js +++ b/exercises/practice/food-chain/food-chain.js @@ -5,10 +5,10 @@ export class Song { verse() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } verses() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/game-of-life/game-of-life.js b/exercises/practice/game-of-life/game-of-life.js index 0fe83236ec..62a98ee0ec 100644 --- a/exercises/practice/game-of-life/game-of-life.js +++ b/exercises/practice/game-of-life/game-of-life.js @@ -5,14 +5,14 @@ export class GameOfLife { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } tick() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } state() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/gigasecond/gigasecond.js b/exercises/practice/gigasecond/gigasecond.js index 01df97fb98..320fe43d53 100644 --- a/exercises/practice/gigasecond/gigasecond.js +++ b/exercises/practice/gigasecond/gigasecond.js @@ -4,5 +4,5 @@ // export const gigasecond = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/go-counting/go-counting.js b/exercises/practice/go-counting/go-counting.js index aa756eb8f5..8c14bc1016 100644 --- a/exercises/practice/go-counting/go-counting.js +++ b/exercises/practice/go-counting/go-counting.js @@ -5,14 +5,14 @@ export class GoCounting { constructor(board) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } getTerritory(x, y) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } getTerritories() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/grade-school/grade-school.js b/exercises/practice/grade-school/grade-school.js index 6385d9668f..04e9febbd7 100644 --- a/exercises/practice/grade-school/grade-school.js +++ b/exercises/practice/grade-school/grade-school.js @@ -5,14 +5,14 @@ export class GradeSchool { roster() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } add() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } grade() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/grains/grains.js b/exercises/practice/grains/grains.js index a9dfc0e1d9..bc58f87aad 100644 --- a/exercises/practice/grains/grains.js +++ b/exercises/practice/grains/grains.js @@ -10,9 +10,9 @@ // convenience to get you started writing code faster. // export const square = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const total = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/hamming/hamming.js b/exercises/practice/hamming/hamming.js index 7eb271aad3..d4c04aa31f 100644 --- a/exercises/practice/hamming/hamming.js +++ b/exercises/practice/hamming/hamming.js @@ -4,5 +4,5 @@ // export const compute = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/hexadecimal/hexadecimal.js b/exercises/practice/hexadecimal/hexadecimal.js index 36bec68d75..a0d5e967aa 100644 --- a/exercises/practice/hexadecimal/hexadecimal.js +++ b/exercises/practice/hexadecimal/hexadecimal.js @@ -4,5 +4,5 @@ // export const toDecimal = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/high-scores/high-scores.js b/exercises/practice/high-scores/high-scores.js index 19084d6714..47b216792a 100644 --- a/exercises/practice/high-scores/high-scores.js +++ b/exercises/practice/high-scores/high-scores.js @@ -5,22 +5,22 @@ export class HighScores { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get scores() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get latest() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get personalBest() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get personalTopThree() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/house/house.js b/exercises/practice/house/house.js index 989997901f..ee4e6bf996 100644 --- a/exercises/practice/house/house.js +++ b/exercises/practice/house/house.js @@ -5,10 +5,10 @@ export class House { static verse() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } static verses() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/isbn-verifier/isbn-verifier.js b/exercises/practice/isbn-verifier/isbn-verifier.js index 2f5877112c..f4f6f12a12 100644 --- a/exercises/practice/isbn-verifier/isbn-verifier.js +++ b/exercises/practice/isbn-verifier/isbn-verifier.js @@ -4,5 +4,5 @@ // export const isValid = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/isogram/isogram.js b/exercises/practice/isogram/isogram.js index 9da2ad43b7..9779818aca 100644 --- a/exercises/practice/isogram/isogram.js +++ b/exercises/practice/isogram/isogram.js @@ -4,5 +4,5 @@ // export const isIsogram = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/killer-sudoku-helper/killer-sudoku-helper.js b/exercises/practice/killer-sudoku-helper/killer-sudoku-helper.js index 2e432dd6e1..1894c4261c 100644 --- a/exercises/practice/killer-sudoku-helper/killer-sudoku-helper.js +++ b/exercises/practice/killer-sudoku-helper/killer-sudoku-helper.js @@ -4,5 +4,5 @@ // export const combinations = (cage) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/kindergarten-garden/kindergarten-garden.js b/exercises/practice/kindergarten-garden/kindergarten-garden.js index 97bf47a57c..f211a99ada 100644 --- a/exercises/practice/kindergarten-garden/kindergarten-garden.js +++ b/exercises/practice/kindergarten-garden/kindergarten-garden.js @@ -27,10 +27,10 @@ const PLANT_CODES = { export class Garden { constructor(diagram, students = DEFAULT_STUDENTS) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } plants(student) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/knapsack/knapsack.js b/exercises/practice/knapsack/knapsack.js index 968d40138c..7cf940991e 100644 --- a/exercises/practice/knapsack/knapsack.js +++ b/exercises/practice/knapsack/knapsack.js @@ -4,5 +4,5 @@ // export const knapsack = (maximumWeight, items) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/largest-series-product/largest-series-product.js b/exercises/practice/largest-series-product/largest-series-product.js index 0965c9cf9e..4b377c2523 100644 --- a/exercises/practice/largest-series-product/largest-series-product.js +++ b/exercises/practice/largest-series-product/largest-series-product.js @@ -4,5 +4,5 @@ // export const largestProduct = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/leap/leap.js b/exercises/practice/leap/leap.js index 1b8ccc9f87..1e481585af 100644 --- a/exercises/practice/leap/leap.js +++ b/exercises/practice/leap/leap.js @@ -4,5 +4,5 @@ // export const isLeap = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/lens-person/lens-person.js b/exercises/practice/lens-person/lens-person.js index 97d885c21a..e5fb820a18 100644 --- a/exercises/practice/lens-person/lens-person.js +++ b/exercises/practice/lens-person/lens-person.js @@ -13,29 +13,29 @@ import { Lens } from './lens'; // Implement the nameLens with the getter and setter export const nameLens = new Lens( () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, ); // Implement the bornAtLens with the getter and setter export const bornAtLens = new Lens( () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, ); // Implement the streetLens with the getter and setter export const streetLens = new Lens( () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }, ); diff --git a/exercises/practice/linked-list/linked-list.js b/exercises/practice/linked-list/linked-list.js index dc63705d8f..3fa5221d20 100644 --- a/exercises/practice/linked-list/linked-list.js +++ b/exercises/practice/linked-list/linked-list.js @@ -5,26 +5,26 @@ export class LinkedList { push() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } pop() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } shift() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } unshift() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } delete() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } count() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/list-ops/list-ops.js b/exercises/practice/list-ops/list-ops.js index ab0dcdd079..e6da91cf23 100644 --- a/exercises/practice/list-ops/list-ops.js +++ b/exercises/practice/list-ops/list-ops.js @@ -5,38 +5,38 @@ export class List { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } append() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } concat() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } filter() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } map() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } length() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } foldl() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } foldr() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } reverse() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/luhn/luhn.js b/exercises/practice/luhn/luhn.js index ba457e73f4..adb4717ad9 100644 --- a/exercises/practice/luhn/luhn.js +++ b/exercises/practice/luhn/luhn.js @@ -4,5 +4,5 @@ // export const valid = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/markdown/markdown.js b/exercises/practice/markdown/markdown.js index 23b2e82092..e5bf7eecc6 100644 --- a/exercises/practice/markdown/markdown.js +++ b/exercises/practice/markdown/markdown.js @@ -79,7 +79,7 @@ function parseLine(markdown, list) { [result, inListAfter] = parseParagraph(markdown, list); } if (result === null) { - throw new Error('Invalid markdown'); + throw new Error('Remove this line and implement the function'); } return [result, inListAfter]; } diff --git a/exercises/practice/matching-brackets/matching-brackets.js b/exercises/practice/matching-brackets/matching-brackets.js index 8a0ef3cf07..572ebb6f3b 100644 --- a/exercises/practice/matching-brackets/matching-brackets.js +++ b/exercises/practice/matching-brackets/matching-brackets.js @@ -4,5 +4,5 @@ // export const isPaired = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/matrix/matrix.js b/exercises/practice/matrix/matrix.js index 1eca092ec9..ebef791f08 100644 --- a/exercises/practice/matrix/matrix.js +++ b/exercises/practice/matrix/matrix.js @@ -5,14 +5,14 @@ export class Matrix { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get rows() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get columns() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/meetup/meetup.js b/exercises/practice/meetup/meetup.js index 1eb17a0b19..768b2a6534 100644 --- a/exercises/practice/meetup/meetup.js +++ b/exercises/practice/meetup/meetup.js @@ -4,5 +4,5 @@ // export const meetup = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/micro-blog/micro-blog.js b/exercises/practice/micro-blog/micro-blog.js index 4ebe04e779..c33965ca96 100644 --- a/exercises/practice/micro-blog/micro-blog.js +++ b/exercises/practice/micro-blog/micro-blog.js @@ -4,5 +4,5 @@ // export const truncate = (input) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/minesweeper/minesweeper.js b/exercises/practice/minesweeper/minesweeper.js index ced01d454c..109f9f450b 100644 --- a/exercises/practice/minesweeper/minesweeper.js +++ b/exercises/practice/minesweeper/minesweeper.js @@ -4,5 +4,5 @@ // export const annotate = (input) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/nth-prime/nth-prime.js b/exercises/practice/nth-prime/nth-prime.js index 6dbabc01d2..861fc4eec4 100644 --- a/exercises/practice/nth-prime/nth-prime.js +++ b/exercises/practice/nth-prime/nth-prime.js @@ -4,5 +4,5 @@ // export const prime = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/nucleotide-count/nucleotide-count.js b/exercises/practice/nucleotide-count/nucleotide-count.js index 7f45aa1fca..75538ce38b 100644 --- a/exercises/practice/nucleotide-count/nucleotide-count.js +++ b/exercises/practice/nucleotide-count/nucleotide-count.js @@ -4,5 +4,5 @@ // export function countNucleotides(strand) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } diff --git a/exercises/practice/ocr-numbers/ocr-numbers.js b/exercises/practice/ocr-numbers/ocr-numbers.js index bc04770bfb..2d238ca461 100644 --- a/exercises/practice/ocr-numbers/ocr-numbers.js +++ b/exercises/practice/ocr-numbers/ocr-numbers.js @@ -4,5 +4,5 @@ // export const convert = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/octal/octal.js b/exercises/practice/octal/octal.js index 5531d250aa..aeb91fa97d 100644 --- a/exercises/practice/octal/octal.js +++ b/exercises/practice/octal/octal.js @@ -5,10 +5,10 @@ export class Octal { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toDecimal() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/palindrome-products/palindrome-products.js b/exercises/practice/palindrome-products/palindrome-products.js index 9af6b5d15a..a8e298da32 100644 --- a/exercises/practice/palindrome-products/palindrome-products.js +++ b/exercises/practice/palindrome-products/palindrome-products.js @@ -5,6 +5,6 @@ export class Palindromes { static generate() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/pangram/pangram.js b/exercises/practice/pangram/pangram.js index 47769cc4d5..627cdd0996 100644 --- a/exercises/practice/pangram/pangram.js +++ b/exercises/practice/pangram/pangram.js @@ -4,5 +4,5 @@ // export const isPangram = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/parallel-letter-frequency/parallel-letter-frequency.js b/exercises/practice/parallel-letter-frequency/parallel-letter-frequency.js index bef5eb5403..17ddf574da 100644 --- a/exercises/practice/parallel-letter-frequency/parallel-letter-frequency.js +++ b/exercises/practice/parallel-letter-frequency/parallel-letter-frequency.js @@ -4,5 +4,5 @@ // export const parallelLetterFrequency = async (texts) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/pascals-triangle/pascals-triangle.js b/exercises/practice/pascals-triangle/pascals-triangle.js index 699a87abe3..a11f7bf194 100644 --- a/exercises/practice/pascals-triangle/pascals-triangle.js +++ b/exercises/practice/pascals-triangle/pascals-triangle.js @@ -4,5 +4,5 @@ // export const rows = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/perfect-numbers/perfect-numbers.js b/exercises/practice/perfect-numbers/perfect-numbers.js index d2c0e5a701..a3d0c98b26 100644 --- a/exercises/practice/perfect-numbers/perfect-numbers.js +++ b/exercises/practice/perfect-numbers/perfect-numbers.js @@ -4,5 +4,5 @@ // export const classify = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/phone-number/phone-number.js b/exercises/practice/phone-number/phone-number.js index ba60516cfb..678532221a 100644 --- a/exercises/practice/phone-number/phone-number.js +++ b/exercises/practice/phone-number/phone-number.js @@ -4,5 +4,5 @@ // export const clean = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/pig-latin/pig-latin.js b/exercises/practice/pig-latin/pig-latin.js index 66ca7b0f4d..d1526260a3 100644 --- a/exercises/practice/pig-latin/pig-latin.js +++ b/exercises/practice/pig-latin/pig-latin.js @@ -4,5 +4,5 @@ // export const translate = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/point-mutations/point-mutations.js b/exercises/practice/point-mutations/point-mutations.js index a3fe4a8812..055bcaaeac 100644 --- a/exercises/practice/point-mutations/point-mutations.js +++ b/exercises/practice/point-mutations/point-mutations.js @@ -5,10 +5,10 @@ export class DNA { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } hammingDistance() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/poker/poker.js b/exercises/practice/poker/poker.js index c61fb93b56..0cc6d274d1 100644 --- a/exercises/practice/poker/poker.js +++ b/exercises/practice/poker/poker.js @@ -4,5 +4,5 @@ // export const bestHands = (hands) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/prime-factors/prime-factors.js b/exercises/practice/prime-factors/prime-factors.js index 3d0f819c36..75dad73cdf 100644 --- a/exercises/practice/prime-factors/prime-factors.js +++ b/exercises/practice/prime-factors/prime-factors.js @@ -4,5 +4,5 @@ // export const primeFactors = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/promises/promises.js b/exercises/practice/promises/promises.js index 5d0fbb16e0..fe4b9204fd 100644 --- a/exercises/practice/promises/promises.js +++ b/exercises/practice/promises/promises.js @@ -4,21 +4,21 @@ // export const promisify = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const all = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const allSettled = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const race = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const any = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/protein-translation/protein-translation.js b/exercises/practice/protein-translation/protein-translation.js index c2686a6dad..5e2535a2dc 100644 --- a/exercises/practice/protein-translation/protein-translation.js +++ b/exercises/practice/protein-translation/protein-translation.js @@ -4,5 +4,5 @@ // export const translate = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/proverb/proverb.js b/exercises/practice/proverb/proverb.js index 8bb9a4b9fc..5ce893625b 100644 --- a/exercises/practice/proverb/proverb.js +++ b/exercises/practice/proverb/proverb.js @@ -4,5 +4,5 @@ // export const proverb = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/pythagorean-triplet/pythagorean-triplet.js b/exercises/practice/pythagorean-triplet/pythagorean-triplet.js index c382aaac94..afaadf1333 100644 --- a/exercises/practice/pythagorean-triplet/pythagorean-triplet.js +++ b/exercises/practice/pythagorean-triplet/pythagorean-triplet.js @@ -4,15 +4,15 @@ // export function triplets({ minFactor, maxFactor, sum }) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } class Triplet { constructor(a, b, c) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toArray() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/queen-attack/queen-attack.js b/exercises/practice/queen-attack/queen-attack.js index 16f26a8932..f05b6044e5 100644 --- a/exercises/practice/queen-attack/queen-attack.js +++ b/exercises/practice/queen-attack/queen-attack.js @@ -8,14 +8,14 @@ export class QueenAttack { black: [blackRow, blackColumn] = [], white: [whiteRow, whiteColumn] = [], } = {}) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toString() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get canAttack() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/rail-fence-cipher/rail-fence-cipher.js b/exercises/practice/rail-fence-cipher/rail-fence-cipher.js index 6020b98750..2ebf84b7ee 100644 --- a/exercises/practice/rail-fence-cipher/rail-fence-cipher.js +++ b/exercises/practice/rail-fence-cipher/rail-fence-cipher.js @@ -4,9 +4,9 @@ // export const encode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const decode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/raindrops/raindrops.js b/exercises/practice/raindrops/raindrops.js index fa738c0c2c..4695a3e78b 100644 --- a/exercises/practice/raindrops/raindrops.js +++ b/exercises/practice/raindrops/raindrops.js @@ -4,5 +4,5 @@ // export const convert = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/rational-numbers/rational-numbers.js b/exercises/practice/rational-numbers/rational-numbers.js index 6d34af593f..69aab82c5c 100644 --- a/exercises/practice/rational-numbers/rational-numbers.js +++ b/exercises/practice/rational-numbers/rational-numbers.js @@ -5,38 +5,38 @@ export class Rational { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } add() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } sub() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } mul() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } div() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } abs() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } exprational() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } expreal() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } reduce() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/react/react.js b/exercises/practice/react/react.js index dfbd975b46..730fc7477f 100644 --- a/exercises/practice/react/react.js +++ b/exercises/practice/react/react.js @@ -5,30 +5,30 @@ export class InputCell { constructor(value) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } setValue(value) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } export class ComputeCell { constructor(inputCells, fn) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } addCallback(cb) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } removeCallback(cb) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } export class CallbackCell { constructor(fn) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/rectangles/rectangles.js b/exercises/practice/rectangles/rectangles.js index 332cbbd4b5..0fe7c81ff7 100644 --- a/exercises/practice/rectangles/rectangles.js +++ b/exercises/practice/rectangles/rectangles.js @@ -4,5 +4,5 @@ // export function count() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } diff --git a/exercises/practice/relative-distance/relative-distance.js b/exercises/practice/relative-distance/relative-distance.js index bab836deb1..83a8733fb2 100644 --- a/exercises/practice/relative-distance/relative-distance.js +++ b/exercises/practice/relative-distance/relative-distance.js @@ -1,3 +1,3 @@ export const degreesOfSeparation = (familyTree, personA, personB) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/resistor-color-duo/resistor-color-duo.js b/exercises/practice/resistor-color-duo/resistor-color-duo.js index b131f9251f..224c6311b4 100644 --- a/exercises/practice/resistor-color-duo/resistor-color-duo.js +++ b/exercises/practice/resistor-color-duo/resistor-color-duo.js @@ -4,5 +4,5 @@ // export const decodedValue = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/resistor-color-trio/resistor-color-trio.js b/exercises/practice/resistor-color-trio/resistor-color-trio.js index 087d1551fe..478e7d99bf 100644 --- a/exercises/practice/resistor-color-trio/resistor-color-trio.js +++ b/exercises/practice/resistor-color-trio/resistor-color-trio.js @@ -5,10 +5,10 @@ export class ResistorColorTrio { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } label() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/resistor-color/resistor-color.js b/exercises/practice/resistor-color/resistor-color.js index 867e9112d8..2d7a9e4282 100644 --- a/exercises/practice/resistor-color/resistor-color.js +++ b/exercises/practice/resistor-color/resistor-color.js @@ -4,7 +4,7 @@ // export const colorCode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const COLORS = undefined; diff --git a/exercises/practice/rest-api/rest-api.js b/exercises/practice/rest-api/rest-api.js index bddc9c0bf6..2d3c7b0e54 100644 --- a/exercises/practice/rest-api/rest-api.js +++ b/exercises/practice/rest-api/rest-api.js @@ -5,14 +5,14 @@ export class RestAPI { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get(url) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } post(url, payload) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/reverse-string/reverse-string.js b/exercises/practice/reverse-string/reverse-string.js index c5060d2f1e..e42fcc9136 100644 --- a/exercises/practice/reverse-string/reverse-string.js +++ b/exercises/practice/reverse-string/reverse-string.js @@ -4,5 +4,5 @@ // export const reverseString = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/rna-transcription/rna-transcription.js b/exercises/practice/rna-transcription/rna-transcription.js index 9a8343ed4a..3679dec81c 100644 --- a/exercises/practice/rna-transcription/rna-transcription.js +++ b/exercises/practice/rna-transcription/rna-transcription.js @@ -4,5 +4,5 @@ // export const toRna = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/robot-simulator/robot-simulator.js b/exercises/practice/robot-simulator/robot-simulator.js index 83971be5f1..7c5d6976a4 100644 --- a/exercises/practice/robot-simulator/robot-simulator.js +++ b/exercises/practice/robot-simulator/robot-simulator.js @@ -12,18 +12,18 @@ export class InvalidInputError extends Error { export class Robot { get bearing() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get coordinates() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } place({ x, y, direction }) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } evaluate(instructions) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/roman-numerals/roman-numerals.js b/exercises/practice/roman-numerals/roman-numerals.js index de27903c7e..ec51eb60dc 100644 --- a/exercises/practice/roman-numerals/roman-numerals.js +++ b/exercises/practice/roman-numerals/roman-numerals.js @@ -4,5 +4,5 @@ // export const toRoman = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/rotational-cipher/rotational-cipher.js b/exercises/practice/rotational-cipher/rotational-cipher.js index d06eb61daa..3e1f26865b 100644 --- a/exercises/practice/rotational-cipher/rotational-cipher.js +++ b/exercises/practice/rotational-cipher/rotational-cipher.js @@ -4,5 +4,5 @@ // export const rotate = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/run-length-encoding/run-length-encoding.js b/exercises/practice/run-length-encoding/run-length-encoding.js index 713839cf10..0878f133d3 100644 --- a/exercises/practice/run-length-encoding/run-length-encoding.js +++ b/exercises/practice/run-length-encoding/run-length-encoding.js @@ -4,9 +4,9 @@ // export const encode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const decode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/saddle-points/saddle-points.js b/exercises/practice/saddle-points/saddle-points.js index e4b6b85341..71a38a388e 100644 --- a/exercises/practice/saddle-points/saddle-points.js +++ b/exercises/practice/saddle-points/saddle-points.js @@ -4,5 +4,5 @@ // export const saddlePoints = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/satellite/satellite.js b/exercises/practice/satellite/satellite.js index 7e0fe2f940..d3bf54978a 100644 --- a/exercises/practice/satellite/satellite.js +++ b/exercises/practice/satellite/satellite.js @@ -4,5 +4,5 @@ // export const treeFromTraversals = (preorder, inorder) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/say/say.js b/exercises/practice/say/say.js index e675c5ec1b..f34f716597 100644 --- a/exercises/practice/say/say.js +++ b/exercises/practice/say/say.js @@ -4,5 +4,5 @@ // export const say = (n) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/scale-generator/scale-generator.js b/exercises/practice/scale-generator/scale-generator.js index 6f702b0165..1132bb42ee 100644 --- a/exercises/practice/scale-generator/scale-generator.js +++ b/exercises/practice/scale-generator/scale-generator.js @@ -5,14 +5,14 @@ export class Scale { constructor(tonic) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } chromatic() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } interval(intervals) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/scrabble-score/scrabble-score.js b/exercises/practice/scrabble-score/scrabble-score.js index c003fa5ab4..d7967d60c7 100644 --- a/exercises/practice/scrabble-score/scrabble-score.js +++ b/exercises/practice/scrabble-score/scrabble-score.js @@ -4,5 +4,5 @@ // export const score = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/secret-handshake/secret-handshake.js b/exercises/practice/secret-handshake/secret-handshake.js index c6af522587..42513ec5f7 100644 --- a/exercises/practice/secret-handshake/secret-handshake.js +++ b/exercises/practice/secret-handshake/secret-handshake.js @@ -4,5 +4,5 @@ // export const commands = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/series/series.js b/exercises/practice/series/series.js index aec5365a19..48fb472ea7 100644 --- a/exercises/practice/series/series.js +++ b/exercises/practice/series/series.js @@ -5,10 +5,10 @@ export class Series { constructor(series) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } slices(sliceLength) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/sieve/sieve.js b/exercises/practice/sieve/sieve.js index 3223eaa0e4..29256dbb36 100644 --- a/exercises/practice/sieve/sieve.js +++ b/exercises/practice/sieve/sieve.js @@ -4,5 +4,5 @@ // export const primes = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/simple-cipher/simple-cipher.js b/exercises/practice/simple-cipher/simple-cipher.js index ec77b1bcb0..f9412acae2 100644 --- a/exercises/practice/simple-cipher/simple-cipher.js +++ b/exercises/practice/simple-cipher/simple-cipher.js @@ -5,18 +5,18 @@ export class Cipher { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } encode() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } decode() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get key() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/simple-linked-list/simple-linked-list.js b/exercises/practice/simple-linked-list/simple-linked-list.js index e51d534bc9..1352c548d9 100644 --- a/exercises/practice/simple-linked-list/simple-linked-list.js +++ b/exercises/practice/simple-linked-list/simple-linked-list.js @@ -5,40 +5,40 @@ export class Element { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get value() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get next() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } export class List { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } add(nextValue) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get length() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get head() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toArray() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } reverse() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/space-age/space-age.js b/exercises/practice/space-age/space-age.js index 4b53e05f4c..aa827ed56f 100644 --- a/exercises/practice/space-age/space-age.js +++ b/exercises/practice/space-age/space-age.js @@ -4,5 +4,5 @@ // export const age = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/spiral-matrix/spiral-matrix.js b/exercises/practice/spiral-matrix/spiral-matrix.js index 97a1528e3f..a7bc2e59b7 100644 --- a/exercises/practice/spiral-matrix/spiral-matrix.js +++ b/exercises/practice/spiral-matrix/spiral-matrix.js @@ -4,5 +4,5 @@ // export const spiralMatrix = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/square-root/square-root.js b/exercises/practice/square-root/square-root.js index 922a59298b..c8345c21f7 100644 --- a/exercises/practice/square-root/square-root.js +++ b/exercises/practice/square-root/square-root.js @@ -4,5 +4,5 @@ // export const squareRoot = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/state-of-tic-tac-toe/state-of-tic-tac-toe.js b/exercises/practice/state-of-tic-tac-toe/state-of-tic-tac-toe.js index 43b5fe3da4..12f035fd7e 100644 --- a/exercises/practice/state-of-tic-tac-toe/state-of-tic-tac-toe.js +++ b/exercises/practice/state-of-tic-tac-toe/state-of-tic-tac-toe.js @@ -4,5 +4,5 @@ // export const gamestate = (board) => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/strain/strain.js b/exercises/practice/strain/strain.js index 427b6e7a5a..873d6628b1 100644 --- a/exercises/practice/strain/strain.js +++ b/exercises/practice/strain/strain.js @@ -4,9 +4,9 @@ // export const keep = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const discard = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/sublist/sublist.js b/exercises/practice/sublist/sublist.js index 6375e7178c..8014e5093b 100644 --- a/exercises/practice/sublist/sublist.js +++ b/exercises/practice/sublist/sublist.js @@ -5,10 +5,10 @@ export class List { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } compare() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/sum-of-multiples/sum-of-multiples.js b/exercises/practice/sum-of-multiples/sum-of-multiples.js index 601ee9f600..6dbadfc361 100644 --- a/exercises/practice/sum-of-multiples/sum-of-multiples.js +++ b/exercises/practice/sum-of-multiples/sum-of-multiples.js @@ -4,5 +4,5 @@ // export const sum = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/tournament/tournament.js b/exercises/practice/tournament/tournament.js index e559cf1bb0..2e29cf6518 100644 --- a/exercises/practice/tournament/tournament.js +++ b/exercises/practice/tournament/tournament.js @@ -4,5 +4,5 @@ // export const tournamentTally = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/transpose/transpose.js b/exercises/practice/transpose/transpose.js index f29c78ece4..2ab7d9db71 100644 --- a/exercises/practice/transpose/transpose.js +++ b/exercises/practice/transpose/transpose.js @@ -4,5 +4,5 @@ // export const transpose = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/triangle/triangle.js b/exercises/practice/triangle/triangle.js index d2897b64e2..cef60307d3 100644 --- a/exercises/practice/triangle/triangle.js +++ b/exercises/practice/triangle/triangle.js @@ -5,18 +5,18 @@ export class Triangle { constructor(...sides) { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get isEquilateral() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get isIsosceles() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } get isScalene() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/trinary/trinary.js b/exercises/practice/trinary/trinary.js index 0cf1e65a29..6c65184f59 100644 --- a/exercises/practice/trinary/trinary.js +++ b/exercises/practice/trinary/trinary.js @@ -5,10 +5,10 @@ export class Trinary { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toDecimal() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/twelve-days/twelve-days.js b/exercises/practice/twelve-days/twelve-days.js index b3ac658733..0b4fb3511d 100644 --- a/exercises/practice/twelve-days/twelve-days.js +++ b/exercises/practice/twelve-days/twelve-days.js @@ -4,5 +4,5 @@ // export const recite = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/two-bucket/two-bucket.js b/exercises/practice/two-bucket/two-bucket.js index 2e4b8f5108..4c7043e855 100644 --- a/exercises/practice/two-bucket/two-bucket.js +++ b/exercises/practice/two-bucket/two-bucket.js @@ -5,10 +5,10 @@ export class TwoBucket { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } solve() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/two-fer/two-fer.js b/exercises/practice/two-fer/two-fer.js index da86f41da3..3276c9b234 100644 --- a/exercises/practice/two-fer/two-fer.js +++ b/exercises/practice/two-fer/two-fer.js @@ -4,5 +4,5 @@ // export const twoFer = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/variable-length-quantity/variable-length-quantity.js b/exercises/practice/variable-length-quantity/variable-length-quantity.js index 62862ffa79..eb750ba92b 100644 --- a/exercises/practice/variable-length-quantity/variable-length-quantity.js +++ b/exercises/practice/variable-length-quantity/variable-length-quantity.js @@ -4,9 +4,9 @@ // export const encode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; export const decode = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/word-count/word-count.js b/exercises/practice/word-count/word-count.js index 697cc32351..05feadfc63 100644 --- a/exercises/practice/word-count/word-count.js +++ b/exercises/practice/word-count/word-count.js @@ -4,5 +4,5 @@ // export const countWords = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/word-search/word-search.js b/exercises/practice/word-search/word-search.js index 857c5222b9..a72fdcbedf 100644 --- a/exercises/practice/word-search/word-search.js +++ b/exercises/practice/word-search/word-search.js @@ -5,11 +5,11 @@ class WordSearch { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } find() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/wordy/wordy.js b/exercises/practice/wordy/wordy.js index 9ee42c7703..f7c398a84a 100644 --- a/exercises/practice/wordy/wordy.js +++ b/exercises/practice/wordy/wordy.js @@ -4,5 +4,5 @@ // export const answer = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/yacht/yacht.js b/exercises/practice/yacht/yacht.js index 23edbb5fad..1735984214 100644 --- a/exercises/practice/yacht/yacht.js +++ b/exercises/practice/yacht/yacht.js @@ -4,5 +4,5 @@ // export const score = () => { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); }; diff --git a/exercises/practice/zebra-puzzle/zebra-puzzle.js b/exercises/practice/zebra-puzzle/zebra-puzzle.js index ff5a9487b0..dd9a645573 100644 --- a/exercises/practice/zebra-puzzle/zebra-puzzle.js +++ b/exercises/practice/zebra-puzzle/zebra-puzzle.js @@ -5,14 +5,14 @@ export class ZebraPuzzle { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } waterDrinker() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } zebraOwner() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } } diff --git a/exercises/practice/zipper/zipper.js b/exercises/practice/zipper/zipper.js index bbd19d1dd4..116087e052 100644 --- a/exercises/practice/zipper/zipper.js +++ b/exercises/practice/zipper/zipper.js @@ -5,42 +5,42 @@ export class Zipper { constructor() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } static fromTree() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } toTree() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } value() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } left() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } right() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } up() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } setValue() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } setLeft() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } setRight() { - throw new Error('Remove this statement and implement this function'); + throw new Error('Remove this line and implement the function'); } }