質問編集履歴
1
実行環境の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
[コード参考記事](https://qiita.com/pebblip/items/cf8d3230969b2f6b3132)
|
5
5
|
|
6
|
+
実行環境:node.js v10.5.0
|
7
|
+
|
6
8
|
```js
|
7
9
|
const factrial = n => {
|
8
10
|
if(n === 0) return 1;
|