Skip to content

Commit d11eca0

Browse files
author
nishigawa
committed
fix typo
1 parent 14090b3 commit d11eca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

complex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ JSONをパースすると、オブジェクトと配列で階層構造になっ
438438
// 省略可能。通常はnull
439439
// 3つめは配列やオブジェクトでインデントするときのインデント幅
440440
// 省略可能。省略すると改行なしの1行で出力される
441-
const json = JSON.stringfy(smallAnimal, null, 2);
441+
const json = JSON.stringify(smallAnimal, null, 2);
442442
443443
// これは複製されて出てくるので、元のsmallAnimalとは別物
444444
const smallAnimal2 = JSON.parse(json);

0 commit comments

Comments
 (0)