Skip to content

Commit

Permalink
Update files/zh-cn/learn/getting_started_with_the_web/javascript_basi…
Browse files Browse the repository at this point in the history
…cs/index.md

Co-authored-by: A1lo <[email protected]>
  • Loading branch information
familyboat and yin1999 authored Oct 10, 2024
1 parent 7e46353 commit cafc722
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ function setUserName() {

翻译一下就是:如果 `myName` 没有值,就再次从头运行`setUserName()`。如果有值(如果上面的表达式不为真),就把值存储到 `localStorage` 并设置为标题文本。

## 小结
## 总结

如果你一直跟着这篇文章里的指导做的话,你应该完成了一个像下面这样的页面。你也可以[查看我们的版本](https://mdn.github.io/beginner-html-site-scripted/)

Expand Down

0 comments on commit cafc722

Please sign in to comment.