diff --git a/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/ES6Study.js b/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/ES6Study.js deleted file mode 100644 index 2614993..0000000 --- a/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/ES6Study.js +++ /dev/null @@ -1,10 +0,0 @@ -//()()写法:后面括号指的是"立即执行一次前面括号里的代码(不只是函数,全部执行一次)" -(() => { - const f1 = () => { console.log("---- 执行函数 f1 ----"); }; - const f2 = () => { console.log("---- 执行函数 f2 ----"); }; - console.log("====================== ES6学习 ====================="); - f1(); - f2(); - - //其它业务逻辑 -})(); \ No newline at end of file diff --git a/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/Index.html b/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/Index.html deleted file mode 100644 index 8a47707..0000000 --- a/BlazorStudy.BootstrapLatest/wwwroot/ES6Study/Index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - -
- - --//()()写法:后面括号指的是"立即执行一次前面括号里的代码(不只是函数,全部执行一次)" -(() => { - const f1 = () => { console.log("---- 执行函数 f1 ----"); }; - const f2 = () => { console.log("---- 执行函数 f2 ----"); }; - console.log("====================== ES6学习 ====================="); - f1(); - f2(); - - //其它业务逻辑 -})(); --