Created
March 26, 2017 19:03
-
-
Save jasonLaster/d67b90d169d21896d8e69f104afdf19a to your computer and use it in GitHub Desktop.
This file contains 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
<html> | |
<body> | |
<script> | |
(function() { | |
var A = {}; | |
window.A = A; | |
(A.F = function() { | |
A.G(); | |
}), (A.G = function() { | |
function _G() {} | |
A.H(); | |
}), (A.H = function() { | |
A.I(); | |
}), (A.I = function() { | |
function _I() {} | |
A.J(); | |
}); | |
A.J = function() { | |
function _J() {} | |
A.K(); | |
}; | |
A.K = function() { | |
console.log(123); | |
}; | |
window.addEventListener('click', A.F, false); | |
})(); | |
</script> | |
<!-- a bit confusing --> | |
<script> | |
(function() { | |
var A = {}; | |
window.A = A; | |
(A.F = function() { | |
A.G(); | |
}), (A.G = function() { | |
function _G() {} | |
A.H(); | |
}), (A.H = function() { | |
A.I(); | |
}), (A.I = function() { | |
function _I() {} | |
A.J(); | |
}); | |
A.J = function() { | |
function _J() {} | |
A.K(); | |
}; | |
A.K = function() { | |
console.log(123); | |
}; | |
window.addEventListener('wheel', A.F, false); | |
})(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment