News




Call Anirudha on Skype

Blogger

JavaScript Function .prototype

Download: Fast, Fun, Awesome


 

Sometime people things to get back the settings of software they used last time on another computer. Sometime installing OS means lost the Settings made in Firefox and Chrome browser.

portableapps.com  provide the portable version of software which you can backup and able to use them on another computer without loosing any settings.

 

This way you never lost History,plugins and custom settings you have applied in Firefox,chrome & skype.

 

Portableapps is better way to run software. It’s not make any Registry on computer. You can backup your software with Settings and able to use them on another computer without doing same settings again and again.

 

http://portableapps.com/


 

in javascript we can use document.readyState  to know the state of page.

Some state of page is

“loading” :- when page is still loading and script is executed.

“interactive” :- when page is finished parsing but still loading sub-resources.

“completed” :- page is completely loaded.

 

check a little demo at http://f1beta.com/demo/document.readyState.html


 

In Javascript if you try to run this code then only #4 statement will print the value.

<script type="text/javascript">
function print(obj){
    console.log(obj);
}
if(undefined){
    print ("undefined");
}
if(null){
    print('null');
}
if(isNaN(null)){
    print('isNaN(null)');
}
if(isNaN(undefined)){ // only this statement will come true
    print('isNaN(undefined)');
}
</script>