using System; using System.Drawing; using System.IO; using System.Threading; using System.Windows.Forms; using DevExpress.XtraBars.Alerter; using DevExpress.XtraEditors; namespace WindowsFormsApplication1 { public partial class Form2 : XtraForm { pub
let只作用在当前块级作用域内使用let或者const声明的变量,不能再被重新声明let不存在`变量提升` console.log(dad); var dad = '我是爸爸!';//预定义undefined console.log(dad); let dad = '我是爸爸!';//报错 生成十个按钮 每个按点击的时候弹出1 - 10var 方法: var i = 0; for (i = 1; i <= 10; i ++) { (function(i) { var btn = document