This commit is contained in:
cilame 2022-09-04 00:05:25 +08:00
parent da92c01717
commit c017dfc292

View File

@ -1102,7 +1102,7 @@ window.atob = window.atob || v_saf(atob_btoa.atob, 'atob')
tail.push(` Object.defineProperty(Date, names[i], desc);`) tail.push(` Object.defineProperty(Date, names[i], desc);`)
tail.push(` }`) tail.push(` }`)
tail.push(` function Date() {`) tail.push(` function Date() {`)
tail.push(` var date = instantiate(_Date, [ftime()]); // 固定返回某一个时间点`) tail.push(` var date = instantiate(_Date, [ftime()]);`)
tail.push(` return date;`) tail.push(` return date;`)
tail.push(` }`) tail.push(` }`)
tail.push(` Date.prototype = _Date.prototype`) tail.push(` Date.prototype = _Date.prototype`)