Skip to content

Commit 90513fb

Browse files
Update JS 函數.md
1 parent c775fd1 commit 90513fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/JS 函數.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
1. 功能的結果
77
2. 功能實現中的參與運算的未知內容
88
- 格式:
9-
```
9+
```javascript
1010
function 函數名(參數列表) {
1111
函數體;
1212
return 返回值;//如果沒有具體返回值,return 語句可以省略不寫
@@ -27,7 +27,7 @@ function 函數名(參數列表) {
2727
## 匿名函數
2828
- 沒有名字的函數
2929
- 通常是函數的簡寫形式
30-
```
30+
```javascript
3131
<script type="text/javascript">
3232
function demo() {
3333
alert("demo run");

0 commit comments

Comments
 (0)