About JS assignment 2 quiz

JS assignment 2

Can you tell me Why it’s wrong ??

when the correct answer is 123 but It showing correct answer is “123”. Why??

1 Like

Hi @hsbehera5 ,

Please refer this post.

1 Like

yes I know this one …but whenever i checked it’s datatype it’s showing me Number. so that if it is showing number then why the answer is wrong.

Hi @hsbehera5 ,
Try this code
image