Hi, This is my tiny code:
var domains_before_update = storage.getItem('domain_list_original');
if(domains_before_update==null || domains_before_update=="" )
gBrowser.selectedTab = gBrowser.addTab("chrome://filter/content/block_and_redirect_list.html");
Is that correct or should I be using === instead of == ?
This question already has an answer here: What is the `constructor` property really used for? [duplicate] 2 answers While creating inheritance pattern in JS such as follows - var Fruits = func