top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What's the difference between host objects and native objects?

0 votes
390 views
What's the difference between host objects and native objects?
posted Jan 14, 2015 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Native objects are those objects supplied by JavaScript. Examples of these are String, Number, Array, Image, Date, Math, etc.

Host objects are objects that are supplied to JavaScript by the browser environment. Examples of these are window, document, forms, etc.

Difference between:

function Person(){} 
var person = Person() 
var person = new Person()

var-functionname-function-vs-function-functionname

answer Jan 19, 2015 by Rahul Singh
Similar Questions
...