Initialize encryption and JavaScript reverse-engineering study repository
Document the project structure and setup while excluding local dependencies and IDE settings. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
34
webpack-2026-09-04/1.自执行函数.js
Normal file
34
webpack-2026-09-04/1.自执行函数.js
Normal file
@@ -0,0 +1,34 @@
|
||||
// function run_task(attr) {
|
||||
// console.log(attr);
|
||||
// }
|
||||
//
|
||||
// run_task(123)
|
||||
|
||||
|
||||
// !(function (attr) {
|
||||
// console.log(attr);
|
||||
// })(1)
|
||||
//
|
||||
// !(function (attr) {
|
||||
// console.log(attr);
|
||||
// })(2)
|
||||
|
||||
// !(function (attr) {
|
||||
// // console.log(attr);
|
||||
// attr[0]()
|
||||
// })([
|
||||
// function () {console.log("1")},
|
||||
// function () {console.log("2")},
|
||||
// function () {console.log("3")}
|
||||
// ])
|
||||
|
||||
|
||||
!(function (attr) {
|
||||
// attr["2"]();
|
||||
attr["2"].call();
|
||||
attr["1"].apply();
|
||||
})({
|
||||
"1": function () { console.log("模块1") },
|
||||
"2": function () { console.log("模块2") },
|
||||
"3": function () { console.log("模块3") },
|
||||
})
|
||||
Reference in New Issue
Block a user