1. 程式人生 > 其它 >Spring核心之AOP

Spring核心之AOP

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>變數的解構賦值</title>
</head>
<body>
    <script>
        //ES6 允許按照一定模式從陣列和物件中提取值,對變數進行賦值,
        //
這被稱為解構賦值。 //1. 陣列的結構 // const F4 = ['小瀋陽','劉能','趙四','宋小寶']; // let [xiao, liu, zhao, song] = F4; // console.log(xiao); // console.log(liu); // console.log(zhao); // console.log(song); //2. 物件的解構 // const zhao = { // name: '趙本山', //
age: '不詳', // xiaopin: function(){ // console.log("我可以演小品"); // } // }; // let {name, age, xiaopin} = zhao; // console.log(name); // console.log(age); // console.log(xiaopin); // xiaopin(); let {xiaopin} = zhao; xiaopin();
</script> </body> </html>