今天在Nodejs环境下搓小工具,控制台输出拼接字符串时,发现有 undefind ,代码如下: const date = new Date(); const year = date.getFullYear(); const month = date.getMonth(); const day = date.getDate(); const hour = date.getHours(); cons…
今天在Nodejs环境下搓小工具,控制台输出拼接字符串时,发现有 undefind ,代码如下: const date = new Date(); const year = date.getFullYear(); const month = date.getMonth(); const day = date.getDate(); const hour = date.getHours(); cons…
讨论
登录后参与讨论
还没有评论,来说第一句吧。