From 6888d20441c435adf054a8be9c1b4d24ea6122c6 Mon Sep 17 00:00:00 2001 From: Umang Pawar Date: Mon, 22 Jun 2026 13:34:38 +0530 Subject: [PATCH] fix(curriculum): add missing commas before non-restrictive which clauses (#68105) Signed-off-by: Umang Pawar Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> --- .../6723d35bb07d1bd220d0f28d.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/review-asynchronous-javascript/6723d35bb07d1bd220d0f28d.md b/curriculum/challenges/english/blocks/review-asynchronous-javascript/6723d35bb07d1bd220d0f28d.md index 7ad23e7e567..069e59bd03d 100644 --- a/curriculum/challenges/english/blocks/review-asynchronous-javascript/6723d35bb07d1bd220d0f28d.md +++ b/curriculum/challenges/english/blocks/review-asynchronous-javascript/6723d35bb07d1bd220d0f28d.md @@ -196,7 +196,7 @@ In the above example, the `try` block contains the code that might throw an erro - The Geolocation API provides a way for websites to request the user's location. -- The example below demonstrates the API's `getCurrentPosition()` method which is used to get the user's current location. +- The example below demonstrates the API's `getCurrentPosition()` method, which is used to get the user's current location. ```js navigator.geolocation.getCurrentPosition( @@ -210,7 +210,7 @@ navigator.geolocation.getCurrentPosition( ); ``` -In this code, we're calling `getCurrentPosition` and passing it a function which will be called when the position is successfully obtained. +In this code, we're calling `getCurrentPosition` and passing it a function, which will be called when the position is successfully obtained. The `position` object contains a variety of information, but here we have selected `latitude` and `longitude` only.