Skip to content

Commit

Permalink
Typo fix and translation update
Browse files Browse the repository at this point in the history
  • Loading branch information
S1ngS1ng committed Feb 6, 2018
1 parent 72fe3e4 commit 9b07aab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"title": "No repeats please",
"description": [
"把一个字符串中的字符重新排列生成新的字符串,返回新生成的字符串里没有连续重复字符的字符串个数.连续重复只以单个字符为准",
"例如, <code>aab</code> 应该返回 2 因为它总共有6中排列 (<code>aab</code>, <code>aab</code>, <code>aba</code>, <code>aba</code>, <code>baa</code>, <code>baa</code>), 但是只有两个 (<code>aba</code> and <code>aba</code>)没有连续重复的字符 (在本例中是 <code>a</code>).",
"例如, <code>aab</code> 应该返回 2 因为它总共有 6 种排列 (<code>aab</code>, <code>aab</code>, <code>aba</code>, <code>aba</code>, <code>baa</code>, <code>baa</code>), 但是只有两个 (<code>aba</code> and <code>aba</code>)没有连续重复的字符 (在本例中是 <code>a</code>).",
"当你遇到困难的时候,记得查看错误提示、阅读文档、搜索、提问。"
],
"challengeSeed": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4471,7 +4471,7 @@
"id": "cf1111c1c13feddfaeb1bdef",
"title": "Add your JavaScript Slot Machine Slots",
"description": [
"现在我们的老虎机每次生存3个随机数,我们得去检查随机数是否全部相等的情况。",
"现在我们的老虎机每次生成3个随机数,我们得去检查随机数是否全部相等的情况。",
"如果全部相等,我们应该提示用户他们赢了,并返回中奖号码,否则我们应该返回null。",
"<code>null</code> 是JavaScript中的一种数据类型,意味着空。",
"当这3个随机数相等的时候,判定用户赢。让我们创建一个<code>if statement</code>,用多个条件按顺序来检查它们是否相等。类似于:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@
],
"challengeSeed": [
"var Car = function() {",
" //Change this constructor",
" // 请修改这个构造器",
" this.wheels = 4;",
" this.seats = 1;",
" this.engines = 1;",
"};",
"",
"//Try it out here",
"// 你可以修改这一行来测试你的代码",
"var myCar;"
],
"tail": [
Expand Down

0 comments on commit 9b07aab

Please sign in to comment.