From 8675a6999fcef9ec3740526e88a2655ee11416b3 Mon Sep 17 00:00:00 2001 From: J Govind Yeswanth Date: Thu, 24 Apr 2025 10:41:49 +0530 Subject: [PATCH] Update javascript.md Updated comment for the callback function. --- source/_posts/javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/javascript.md b/source/_posts/javascript.md index 758d3b2..7b88f50 100644 --- a/source/_posts/javascript.md +++ b/source/_posts/javascript.md @@ -785,7 +785,7 @@ let printMsg = (evenFunc, num) => { // Pass in isEven as the callback function printMsg(isEven, 4); -// => The number 4 is an even number: True. +// => 4 is an even number: True. ``` ### Array.reduce()