Syntax
Test
Model Test
Ebook
Quiz-1 : JavaScript basic
Quiz 2: JavaScript
Quiz 3: JavaScript Basic Level1 quiz
Quiz 4: JavaScript Model Test 6-Jan-2014
Quiz 5: JavaScript Model Test 17 Feb 2014
Quiz 6: JavaScript Model Test 23 Feb 2014
Quiz 7: JavaScript Model Test 3 Mar 2014
Quiz 8: JavaScript Model Test 6 Mar 2014
Index
Javascript Home
Basic
84
Array
7
Function
37
Control structure
18
Syntax
14
Operators
37
Objects
7
Data types & variables
45
Event
7
OOP
1
IO
2
DHTML
1
Regular Expression
1
BOM
2
DOM
4
Schools
Ebook
Question:
Which is the correct general function definition?
A
function myFunc(){}
B
myFunc function(){}
C
function myFunc{}
D
var myFunc=function myFunc(){}
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct syntax to read the value of a form element?
A
document.window.formName.elementName.value
B
window.document.formName.elementName.value
C
formName.elementName.value
D
window.formName.elementName.value
Note:
Not available
Show answer
Show Note
Report
Question:
When a variable is declared without assigning a value then the variable contains
A
null value
B
undefined value
C
void
D
zero
Note:
Not available
Show answer
Show Note
Report
Question:
How do you create a JavaScript general object with a built-in class?
A
var obj=Object()
B
var obj={}
C
var obj=new Object()
D
var obj=[]
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
Next
Last
/2
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd