Buy Questpond's video subscriptions on
huge discount
.
Online: 1960
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
JavaScript
>
Loading ...
What will be the output of below Javascript function?
var result = Math.pow(8,2);
Posted by
Rajesh_Kumar
on 2/17/2014 | Category:
JavaScript Interview questions
| Views: 2095 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Output would be 64.
As it's 8 to the power of 2 meaning 8*8 = 64.
Because pow() method returns the value of base to the power of exponent.
Here, base = 8 and exponent = 2.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to provide the alternate text in a Image butto ...
Next > :
What is Math.Pow function in Math class?
Comments or Responses
Login to post response
More Interview Questions by Rajesh_Kumar
What is Math.Pow function in Math class?
What is the difference between Math.SQRT2 and Math.sqrt()?
What do we mean by Min function of Math class?
If we do not provide any value inside max function,then what will be t ...
Can we pass any value other than numeric in Max function?
What will be the output of below max Javascript function? var outpu ...
What does Math.Max function do?
What do we mean by SQRT1_2 in Math class?
Latest Interview Questions
What is the upcoming version of Android? What's new in that?
Two people will take 2 hours to paint 2 rooms.How many people required ...
There are 9 snooker balls in which one is slightly heavier in weight a ...
What is final class related to OOP's
Differentiate between jquery's ready and holdReady?
Differentiate undefined value and NULL value?
How can you describe === operator?
Differentiate IS and AS operators?
More ...