fix: remove repl.it links chinese challenge articles
This commit is contained in:
committed by
Kristofer Koishigawa
parent
00b5ce97e3
commit
015424b2a5
@@ -52,8 +52,6 @@ function testSize(num) {
|
||||
}
|
||||
```
|
||||
|
||||
·在[repl.it上](https://repl.it/@AdrianSkar/Basic-JS-Chaining-ifelse-statements)运行代码
|
||||
|
||||
### 代码说明
|
||||
|
||||
该函数首先检查`if`条件`(num < 5)` 。如果它的计算结果为`true` ,则返回花括号之间的语句(“Tiny”)。如果没有,则检查下一个条件,直到最后一个`else`语句。
|
||||
|
@@ -31,7 +31,6 @@ function testEqual(val) {
|
||||
testEqual(10);
|
||||
```
|
||||
|
||||
· [在repl.it上运行代码](https://repl.it/@AdrianSkar/Basic-JS-Equality-operator)
|
||||
|
||||
### 代码说明
|
||||
|
||||
|
@@ -42,7 +42,6 @@ function testLogicalAnd(val) {
|
||||
testLogicalAnd(10);
|
||||
```
|
||||
|
||||
· [在repl.it上运行代码](https://repl.it/@AdrianSkar/Basic-JS-Comparison-with-the-and-operator)
|
||||
|
||||
### 代码说明
|
||||
|
||||
|
@@ -120,7 +120,6 @@ function cc(card) {
|
||||
}
|
||||
```
|
||||
|
||||
·在[repl.it上](https://repl.it/@AdrianSkar/Basic-JS-Counting-cards)运行代码。
|
||||
|
||||
### 代码说明
|
||||
|
||||
|
@@ -112,7 +112,6 @@ var names = ["Hole-in-one!", "Eagle", "Birdie", "Par", "Bogey", "Double Bogey",
|
||||
golfScore(5, 4);
|
||||
```
|
||||
|
||||
·在[repl.it](https://repl.it/@AdrianSkar/Basic-JS-Golf-code)运行
|
||||
|
||||
##代码说明 由于我们已经在变量`names`定义了一个数组,我们可以利用它并将它用于使用索引的返回语句(例如: `names[0] is the first one` )。这样,如果您需要更改特定结果,则不需要在函数内部查找它,它将位于数组的开头。
|
||||
|
||||
|
@@ -56,7 +56,7 @@ function testElseIf(val) {
|
||||
testElseIf(7);
|
||||
```
|
||||
|
||||
:rocket: [运行代码](https://repl.it/@RyanPisuena/GoldenWorriedRuntime) ##代码说明 **else-if逻辑流**的结构是一个初始`if`语句,一个`if-else`语句和一个final `else`语句。
|
||||
##代码说明 **else-if逻辑流**的结构是一个初始`if`语句,一个`if-else`语句和一个final `else`语句。
|
||||
|
||||
### 资源
|
||||
|
||||
|
@@ -47,8 +47,6 @@ function testElse(val) {
|
||||
testElse(4);
|
||||
```
|
||||
|
||||
· [在repl.it上运行代码](https://repl.it/@AdrianSkar/Introducing-else-statements)
|
||||
|
||||
### 代码说明
|
||||
|
||||
功能首先评估`if`条件`val > 5`的计算结果为`true` 。如果没有,则执行下一个语句( `else { return "5 or smaller";})` 。
|
||||
|
@@ -85,7 +85,6 @@ function sequentialSizes(val) {
|
||||
sequentialSizes(1);
|
||||
```
|
||||
|
||||
·在[repl.it上](https://repl.it/@AdrianSkar/Basic-JS-Multiple-opts-in-switch)运行代码。
|
||||
|
||||
### 代码说明
|
||||
|
||||
|
@@ -72,7 +72,6 @@ function updateRecords(id, prop, value) {
|
||||
}
|
||||
```
|
||||
|
||||
 [运行代码](https://repl.it/C2AZ/0)
|
||||
|
||||
### 代码说明:
|
||||
|
||||
|
@@ -46,8 +46,6 @@ function isLess(a, b) {
|
||||
isLess(10, 15);
|
||||
```
|
||||
|
||||
在[repl.it上](https://repl.it/@AdrianSkar/Basic-Js-Returning-boolean-from-function)运行代码。
|
||||
|
||||
### 资源
|
||||
|
||||
* [“小于或等于运算符(<=)” - _MDN Javascript参考_](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Less_than_or_equal_operator_(%3C))
|
@@ -116,7 +116,6 @@ function caseInSwitch(val) {
|
||||
caseInSwitch(1);
|
||||
```
|
||||
|
||||
·在[repl.it上](https://repl.it/@AdrianSkar/Basic-JS-Switch-statements)运行代码。
|
||||
|
||||
### 代码说明
|
||||
|
||||
|
@@ -66,7 +66,6 @@ function phoneticLookup(val) {
|
||||
|
||||
JavaScript的 result = lookup \[val\]; \`\`\`
|
||||
|
||||
·在[repl.it上](https://repl.it/@AdrianSkar/Using-objects-for-lookups)运行代码。
|
||||
|
||||
### 资源
|
||||
|
||||
|
Reference in New Issue
Block a user