File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -492,9 +492,9 @@ <h1>Module <a href="type_Js.Json.html">Js.Json</a></h1>
492
492
</ div >
493
493
< div class ="examples ">
494
494
< pre class ="example "> < pre class ="codepre "> < code class ="code "> (* prints `["foo", "bar"]` *)
495
- Js.log @@ Js.Json.stringify [| "foo"; "bar" |]
495
+ Js.log @@ Js.Json.stringifyAny [| "foo"; "bar" |]
496
496
</ code > </ pre > </ pre >
497
497
</ div >
498
498
</ div >
499
499
500
- </ body > </ html >
500
+ </ body > </ html >
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ external stringifyAny : 'a -> string option = "stringify"
229
229
230
230
@example {[
231
231
(* prints `["foo", "bar"]` *)
232
- Js.log \@\@ Js.Json.stringify [| "foo"; "bar" |]
232
+ Js.log \@\@ Js.Json.stringifyAny [| "foo"; "bar" |]
233
233
]}
234
234
235
235
@see <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify> MDN
You can’t perform that action at this time.
0 commit comments