Files
tulin-code/webpack-2026-09-04/1.自执行函数.js
Whale-Fall-Code 418a0411d1 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>
2026-10-09 23:25:05 +08:00

34 lines
642 B
JavaScript

// 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") },
})