消息日志的显示

首先,字符串要用双引号套起来,字符型数据不用。如:
log(""):打印日志;
toast("message"):气泡消息显示在手机上;
toastLog(""):打印日志并在手机上持续2s气泡显示。

----------------------------------------------------------------------------------------------

下面这段函数:
 object.forEach(function (currentValue, index) {
log(index)}
因为index是变量不是字符串所以不用双引号套起来

posted @ 2022-06-29 20:41  iZJ"Qq4577105  阅读(39)  评论(0编辑  收藏  举报