📜  使用 js 打开一个 html 文件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:30.393000             🧑  作者: Mango

代码示例2
// In case I don't want any buttons or links to open a document
// I just want to open a document
window.open('file.extension');