#9 Guess the output ???

shamgurav96

Sham Gurav

Posted on March 24, 2022

#9 Guess the output ???
function getUserId(...args) {
  console.log(typeof args);
}

getUserId(21);
Enter fullscreen mode Exit fullscreen mode

Options -
A) string
B) number
C) object
D) NaN

Reply with correct answer & WHY it is correct answer in comments.

💖 💪 🙅 🚩
shamgurav96
Sham Gurav

Posted on March 24, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

JavaScript Array checks
javascript JavaScript Array checks

February 23, 2024

Queuing Rest Apis using JavaScript
javascript Queuing Rest Apis using JavaScript

April 10, 2023

What is the first thing everyone do?
javascript What is the first thing everyone do?

July 24, 2022

#9 Guess the output ???
javascript #9 Guess the output ???

March 24, 2022