From 8c71250173fc4d445051605623d7f7e6f8c967d8 Mon Sep 17 00:00:00 2001 From: CodePencil Date: Tue, 12 Aug 2025 13:27:59 +0800 Subject: [PATCH] fix: minor typo --- 1-js/04-object-basics/08-symbol/article.md | 2 +- 3-frames-and-windows/01-popup-windows/article.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/04-object-basics/08-symbol/article.md b/1-js/04-object-basics/08-symbol/article.md index 4e4b1e2fd3..523ae28339 100644 --- a/1-js/04-object-basics/08-symbol/article.md +++ b/1-js/04-object-basics/08-symbol/article.md @@ -118,7 +118,7 @@ user[id] = "Their id value"; 我们的标识符和它们的标识符之间不会有冲突,因为 symbol 总是不同的,即使它们有相同的名字。 -……但如果我们处于同样的目的,使用字符串 `"id"` 而不是用 symbol,那么 **就会** 出现冲突: +……但如果我们出于同样的目的,使用字符串 `"id"` 而不是用 symbol,那么 **就会** 出现冲突: ```js let user = { name: "John" }; diff --git a/3-frames-and-windows/01-popup-windows/article.md b/3-frames-and-windows/01-popup-windows/article.md index 45bcffdc0a..26b44b5c34 100644 --- a/3-frames-and-windows/01-popup-windows/article.md +++ b/3-frames-and-windows/01-popup-windows/article.md @@ -151,7 +151,7 @@ newWindow.onload = function() { ```warn header="同源策略" 只有在窗口是同源的时,窗口才能自由访问彼此的内容(`相同的协议://domain:port`)。 -否则,例如,如果主窗口来自于 `site.com`,弹窗来自于 `gmail.com`,则处于安全性考虑,这两个窗口不能访问彼此的内容。有关详细信息,请参见 一章。 +否则,例如,如果主窗口来自于 `site.com`,弹窗来自于 `gmail.com`,则出于安全性考虑,这两个窗口不能访问彼此的内容。有关详细信息,请参见 一章。 ``` ## 从弹窗访问窗口 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy