js获取三天后的日期 setDate getNowAddTreeFormatDate() { var date = new Date(); date.setDate(date.getDate()+3);//获取3天后的日期 var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var monthStr:string; var day = date.getDate();
编辑器:windows,linux 不要用notepad,缩进糟糕 -------------- 5.18缩进 同一层次的语句必须有相同的缩进.每一组这样的语句称为一个块. i = 5 2 print('Value is ', i)# Error! Notice a single space at the start of the line行首有空格 print('I repeat, the value is ', i) 当你运行的时候,会得到下面的出错信息: File "whitespace