题解 | #输出日期#
输出日期
https://www.nowcoder.com/practice/3b7aa5e0792b42338bf5dd2b8ee54d70
{"html":"<!-- 请在此处编写你的代码 -->\\n<!-- <div id=\"app\"> Hello Nowcoder </div> -->","css":"/* html, body {\\n\\twidth: 100%;\\n\\theight: 100%;\\n\\tmargin: 0;\\n\\tpadding: 0;\\n} */","js":"function _date(number) {\r\n // 补全代码\r\n let date = new Date(number)\r\n return date.getFullYear() + \"-\" + (date.getMonth()+1) + \"-\" + date.getDate()\r\n}"}
