From 159ead09a17e2338d7dc9bc69aba22bcb185e312 Mon Sep 17 00:00:00 2001 From: Roopesh Vishwakarma Date: Sat, 17 Feb 2024 02:58:42 +0530 Subject: [PATCH] Update 100_JS_Que "arrow" --- 100Questions/100_JS_Que | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/100Questions/100_JS_Que b/100Questions/100_JS_Que index a5fa33a..b750289 100644 --- a/100Questions/100_JS_Que +++ b/100Questions/100_JS_Que @@ -499,7 +499,7 @@ function sayHi(){ } console.log(typeof sayHi()); //function console.log(typeof sayHi()()); //function -//Explaination : sayHi will return anonymous arrow function/IIFE, where we didn't invole the arroe function so it will return function. +//Explaination : sayHi will return anonymous arrow function/IIFE, where we didn't invole the arrow function so it will return function. ----------------------------------------------------------------------------- console.log(typeof typeof 1); //string //Explaination : typeof 1 is a number and typeof number is a string.