Buy Questpond's video subscriptions on
huge discount
.
Online: 694
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 is the output of below code?
<script type = "text/javascript" language = "javascript">
function check_value()
{
alert("1"+2+4);
}
</script>
Posted by
vishalneeraj-24503
on 12/10/2013 | Category:
JavaScript Interview questions
| Views: 2364 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Since 1 is in double quotation,so it will be treated as string,everything is a string over here,so the result will be
124
.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to check which Database is a current database?
Next > :
What does isNaN function behave in Javascript?
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
What does isNaN function behave in Javascript?
Which Gridview property must be enabled to Sort rows?
What is an Extension of a Web-Service?
What is an extension of User-Control?
How to fetch records from employee_master where dept_no = 20 or 50 and ...
What is the difference between JOIN and UNION?
What does ExecuteReader return?
Dataset is of which architecture?
Latest Interview Questions
What will be output of following function when called? public strin ...
How to assign a value to a textbox through javascript?
DB2 - Display the employee details who are working from more than 1 an ...
DB2 - Fetch the current date and time in the following format 24/APR ...
DB2 - Find the NAMEs that have an even number of letters in them
DB2 - Find the count of departments having average salary greater than ...
DB2 - Write a query to get the employee name who joined the company re ...
DB2 - Write a query to get the employee name who joined the company re ...
More ...