Skip to content

Commit 2107f7e

Browse files
aster-voidchvmvd
andauthored
fix link anchor from if statement #if-elseif-else to #if-else
Co-authored-by: WATAHIKI Yuto <[email protected]>
1 parent bc8573a commit 2107f7e

File tree

1 file changed

+1
-1
lines changed
  • docs/1-trial-session/09-functions

1 file changed

+1
-1
lines changed

docs/1-trial-session/09-functions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ document.write(add(3, 4));
6262
<video src={returnValueVideo} controls autoPlay muted loop />
6363

6464
:::tip
65-
**return 文** が実行された時点で<Term type="javascriptFunction">関数</Term>の処理が終了するため、次のように書くことで [if ~ else 文](../if-statement/#if--else-if--else)[&& (AND) 演算子](../boolean/#論理演算子)の繰り返しを避けつつ、複数の条件のついた処理を実行することができます。
65+
**return 文** が実行された時点で<Term type="javascriptFunction">関数</Term>の処理が終了するため、次のように書くことで [if ~ else 文](../if-statement/#if--else)[&& (AND) 演算子](../boolean/#論理演算子)の繰り返しを避けつつ、複数の条件のついた処理を実行することができます。
6666

6767
```javascript
6868
let age = 21;

0 commit comments

Comments
 (0)