What will be the output of the following code? <script> document.write(typeof(25.47)); </script>

Back to Questions
A)

float

B)

number

C)

integer

D)

double

 

Author Explanation :

There are seven fundamental data types in JavaScript. They are number, string, boolean, null, undefined, symbol and object. We do not have data types like float, integer and double in JavaScript.

Answers Posted

PostedBy By: Sana Dhanani, at 03:57 AM on 29-June-2019

Answer Posted:

Explanation: d

Result: Wrong Answer

PostedBy By: sunkara ganesh, at 09:12 AM on 31-March-2019

Answer Posted:

Explanation: 25.47 number is float

Result: Wrong Answer

PostedBy By: luffy_monkey, at 01:11 PM on 29-March-2019

Answer Posted:

Explanation: H

Result: Wrong Answer

PostedBy By: Sana Dhanani, at 03:58 AM on 29-March-2019

Answer Posted: B

Explanation: Number

Result: Correct

Back to Questions

© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
 
Bestdotnet google plus
Enquiry Now