From aa3656b74b9e8231fef83dd6da4f37c1c233199a Mon Sep 17 00:00:00 2001 From: Diem-Trang Pham <6422507+pdtrang@users.noreply.github.com> Date: Sat, 22 Nov 2025 12:58:56 -0600 Subject: [PATCH] fix(curriculum): reword the opening statement of method chaining (#64057) --- .../673362cbb475e21eab726506.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/blocks/lecture-working-with-higher-order-functions-and-callbacks/673362cbb475e21eab726506.md b/curriculum/challenges/english/blocks/lecture-working-with-higher-order-functions-and-callbacks/673362cbb475e21eab726506.md index c146837e6ce..e894b8eb0c2 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-higher-order-functions-and-callbacks/673362cbb475e21eab726506.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-higher-order-functions-and-callbacks/673362cbb475e21eab726506.md @@ -7,7 +7,7 @@ dashedName: what-is-method-chaining-and-how-does-it-work # --interactive-- -Method chaining is a programming technique that allows you to call multiple methods on the same object in a single line of code. This technique can make your code more readable and concise, especially when performing a series of operations on the same object. +Method chaining is a technique where you call several methods one after another. You can use method chaining on many types of values in JavaScript including strings, arrays, and objects. Even though strings are primitive values, JavaScript temporarily wraps them in a `String` object when you use a string method. Let's look at an example using different string methods: