Category: Javascript

0

Prototype in Javascript with Example

Every function in javascript having the special property is called Prototype. In javascript, Object inherits properties and methods from prototype. Similarly date object inherit from date prototype, Array object inherit from array prototypeExample: Using...

0

Null and Undefined in Javascript

Null – “null” is a value and we can assign to any variable, null means ‘no value’ for assigned variableExample:var data_item = null;console.log(data_item) Undefined – The variable is declared and there is no value...

0

Synchronous and Asynchronous call in Ajax

Asynchronous: If asynchronous is true then the other calls in the website don’t wait for the response from current execution and it continues to execute. By default async is “true” Synchronous: If current ajax...