Email:
Password:
Remember Me
Forgot your password?
Log in
New to Satt Academy?
Create an account
or
Log in with Google Account
Home
Ask Question?
Business Account
Exam
Exam List
Exam Result
Category
1-12 Class
Board Exam
Admission
Job Solution
Skill Development
Book Collection
Video Content
Blog Content
Question
Ask Question?
Current Affairs
All MCQ Question
All Written Question
Upload Question
General
Study Plan
Hand Note
Notice | News
Other
FAQ
Point
Package
Feedback
Home
Academy
Admission
Job Assistant
Current Affairs
Skill
Forum
Blog
Package
Course
Sign In
Unauthenticate
Guest
example@gmail.com
Login
Description
Home
Edit Description
Back
Edit Description
Fill up the form and submit
Question
what is the value of variable x after the following statement is executed in JavaScript? Var
x
2
-
'
3
'
+
'
4
'
;
34
7
0
Undefined
ANSWER : 4
Descrption
undefined is a property of the global object. That is, it is a variable in global scope. The initial value of undefined is the primitive value undefined. In modern browsers (JavaScript 1.8.5 / Firefox 4 + ), undefined is a non - configurable, non - writable property, per the ECMAScript 5 specification. (Even when this is not the case, avoid overriding it.) A variable that has not been assigned a value is of type undefined. A method or statement also returns undefined if the variable that is being evaluated does not have an assigned value. A function returns undefined if a value was not returned.
Please, login first.
click here to login
Cancel
Login
©2024 SATT ACADEMY. All rights reserved.
Promotion