From 428918f9668d42de1e0858b52b055772f578d3e7 Mon Sep 17 00:00:00 2001 From: Vivek Kavala Date: Mon, 22 Sep 2025 16:38:32 +0530 Subject: [PATCH] fix(curriculum): typo fix in JavaScript Fundamentals (#62302) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> --- .../review-javascript-fundamentals/6723ca166fe90eb0a3146848.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/blocks/review-javascript-fundamentals/6723ca166fe90eb0a3146848.md b/curriculum/challenges/english/blocks/review-javascript-fundamentals/6723ca166fe90eb0a3146848.md index 13d55deab00..9eae8705862 100644 --- a/curriculum/challenges/english/blocks/review-javascript-fundamentals/6723ca166fe90eb0a3146848.md +++ b/curriculum/challenges/english/blocks/review-javascript-fundamentals/6723ca166fe90eb0a3146848.md @@ -61,7 +61,7 @@ let hasPermission = false; let canEdit = true; ``` -- **Naming Functions**: For functions, the name should clearly indicate what the function does. For functions that return a boolean (often called predicates), you can use the same "is", "has", or "can" prefixes. When you have functions that retrieve data, it is common to start with the word "get". When you have functions that set data, it is common start with the word "set". For event handler functions, you might prefix with "handle" or suffix with "Handler". +- **Naming Functions**: For functions, the name should clearly indicate what the function does. For functions that return a boolean (often called predicates), you can use the same "is", "has", or "can" prefixes. When you have functions that retrieve data, it is common to start with the word "get". When you have functions that set data, it is common to start with the word "set". For event handler functions, you might prefix with "handle" or suffix with "Handler". ```js function getUserData() { /* ... */ }