From 6c68933884e536949ab2d9eb767490699e586567 Mon Sep 17 00:00:00 2001 From: Mytia Dorofieiev Date: Wed, 12 Nov 2025 07:06:41 +0100 Subject: [PATCH] Fix typos in hints.md --- exercises/concept/train-driver/.docs/hints.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/train-driver/.docs/hints.md b/exercises/concept/train-driver/.docs/hints.md index a80b5c2af0..fc5145a939 100644 --- a/exercises/concept/train-driver/.docs/hints.md +++ b/exercises/concept/train-driver/.docs/hints.md @@ -12,12 +12,12 @@ ## 2. Move the first two elements to the end of the array - You can unpack a series of parameters using [a destructuring assignment (`...`)][destructuring-assignment]. - This lets you extract the first two elements of a `array` while keeping the rest intact. + This lets you extract the first two elements of an `array` while keeping the rest intact. - To add another `array` into an existing `array`, you can use the `...` operator to "spread" the `array`. ## 3. Add missing values -- Using unpacking with the rest operator(`...`), lets you extract the first two elements of a `array` while keeping the rest intact. +- Using unpacking with the rest operator(`...`), you can extract the first element of an `array` while keeping the rest intact. - To add another `array` into an existing `array`, you can use the `...` operator to "spread" the `array`. ## 4. Extend routing information