Created
August 16, 2019 23:03
-
-
Save lethern/20ce49bcc86d38990a4d1cad014fed51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function O(){}; | |
O.func1=function (){ | |
console.log(); | |
} | |
O.func2=function (){ | |
var argg = 1; | |
func1(); | |
return argg; | |
} | |
function funcp(){ return func1; } | |
function funca(){} | |
O.func3 = function (){ | |
var x = O.func2(); | |
var y = O.func222(); | |
var params = { | |
ret : funcp() | |
}; | |
var arr = [funca()]; | |
var l = funclocal(); | |
var def = function(){}; | |
def(); | |
def = 0; | |
console.log(x); | |
this.t(); | |
params.ret(); | |
function funclocal(){}; | |
} | |
console.log(x); | |
----> | |
O | |
O.func1 | |
console->log | |
O.func2 | |
func1 | |
funcp | |
funca | |
O.func3 | |
O.func2 | |
func1 | |
O->func222 | |
funcp | |
funca | |
funclocal | |
def | |
console->log | |
this->t | |
params->ret | |
(anonym) | |
funclocal | |
(anonym) | |
console->log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment