TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Minhaj Hussain
NA
86
6k
What is happening in the following javascript code:
Jan 18 2018 8:49 AM
var obj1 = {
Name: "ASLAM",
getName: function () {
return this.Name;
} }
var obj2 =
{
address : "PAKISTAN",
getAddress:function() {
return this.address;
} }
obj2 = obj1;
obj2.getName();
obj2.getAddress();
(What will be the output and what are the reasons behind it)
Reply
Answers (
2
)
get value in hidden checkbox
connect html,javascript or css