This commit is contained in:
the1812 2019-06-14 23:34:20 +08:00
parent 8a6d6714f2
commit c2e0d1573f

View File

@ -1,3 +1,5 @@
import { foo } from './foo';
import { foo } from './foo.js';
document.body.innerHTML = foo()
const p = document.createElement('p')
p.innerHTML = foo()
document.body.appendChild(p)