js 如何打印出函数的返回值先设置span 的id = "log"在js中 var log = dateToStr(${loginuser.loginDate });document.getElementById("log").2023-03-02JavaScript190