Buy Questpond's video subscriptions on
huge discount
.
Online: 2807
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
Javascript code?
var a = ['a','b','c'];
var b = ['d','e','f'];
var c = a.concat(b);
//c is now an an array with:['a','b','c','d','e','f']
alert(c[3]);
Posted by
vishalneeraj-24503
on 12/7/2013 | Category:
JavaScript Interview questions
| Views: 8615 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
a
b
d
e
All Above
Output will be d.
As array index will be starting from 0.
So c[3] means 4th index,
that will be d.
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to append 2 strings?
Next > :
How to pass asp.net Textbox control ID from code-b ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
How to pass asp.net Textbox control ID from code-behind to JavaScript ...
Which Gridview property should be enabled to bind column when there is ...
How do we submit a form using JavaScript?
Is JavaScript case sensitive?
How do we register User-Control onto a web page?
What will be the output of below query? Select * from employee_mast ...
What will be the output of below query? Select * from employee_mast ...
Will below query return records? Select * from employee_master wher ...
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 ...