Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
2 function fna() {}
3 fna.prototype = undefined;
4 new fna;
6 function fnb() {}
7 fnb.prototype = null;
8 new fnb;
10 function fnc() {}
11 fnc.prototype = 3;
12 new fnc;
14 function fnd() {}
15 fnd.prototype = true;
16 new fnd;
18 function fne() {}
19 fne.prototype = "foo";
20 new fne;
22 function fnf() {}
23 fnf.prototype = /foo/;
24 new fnf;