getSelection () 方法暴露在document 和window 对象上,返回当前选中文本的Selection 对象。 // 获取Selection 对象const selection = window.
確定! 回上一頁