标签:view idt name lang doctype init script 外链 rip
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="babel.min.js"></script> </head> <body> <script type="text/babel"> let a = 0; let b = 1; let obj = { a, b, c(){ console.log(2); } }; let obj2 = { d:4, ...obj, e:5 }; console.log(obj2); /* 使用教程: 1.外链balel.min.js文件 2.script type="text/babel" */ </script> </body> </html>
标签:view idt name lang doctype init script 外链 rip
原文地址:https://www.cnblogs.com/Afanadmin/p/12343954.html