tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

functionNames.js (956B)


      1 /* eslint-disable */
      2 
      3 ({
      4  foo: function() {},
      5  "foo": function() {},
      6  42: function() {},
      7 
      8  foo() {},
      9  "foo"() {},
     10  42() {},
     11 });
     12 
     13 foo = function() {};
     14 obj.foo = function() {};
     15 
     16 var foo = function(){};
     17 var [foo = function(){}] = [];
     18 var {foo = function(){}} = {};
     19 
     20 [foo = function(){}] = [];
     21 ({foo = function(){}} = {});
     22 ({bar: foo = function(){}} = {});
     23 
     24 function fn([foo = function(){}]){}
     25 function f2({foo = function(){}} = {}){}
     26 function f3({bar: foo = function(){}} = {}){}
     27 
     28 class Cls {
     29  foo = function() {};
     30  "foo" = function() {};
     31  42 = function() {};
     32 
     33  foo() {}
     34  "foo"() {}
     35  42() {}
     36 }
     37 
     38 (function(){});
     39 
     40 export default function (){}
     41 
     42 const defaultObj = {a: 1};
     43 const defaultArr = ['smthng'];
     44 function a(first, second){}
     45 function b(first = 'bla', second){}
     46 function c(first = {}, second){}
     47 function d(first = [], second){}
     48 function e(first = defaultObj, second){}
     49 function f(first = defaultArr, second){}
     50 function g(first = null, second){}