diff options
author | EuAndreh <eu@euandre.org> | 2025-04-16 11:20:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-16 11:20:43 -0300 |
commit | d36c2e459a74ec67e523539eb98b78b95b01432a (patch) | |
tree | a7099fbfbdab6a21f59b6efe095bffb40ceae646 /src/content/tils/2021/08/11/js-bigint-reviver.adoc | |
parent | src/content/style.css: Show header on hover only (diff) | |
download | euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.gz euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.xz |
src/content/: Normalize [source,$lang] code blocks
Diffstat (limited to 'src/content/tils/2021/08/11/js-bigint-reviver.adoc')
-rw-r--r-- | src/content/tils/2021/08/11/js-bigint-reviver.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/tils/2021/08/11/js-bigint-reviver.adoc b/src/content/tils/2021/08/11/js-bigint-reviver.adoc index f7dd3de..98ee79b 100644 --- a/src/content/tils/2021/08/11/js-bigint-reviver.adoc +++ b/src/content/tils/2021/08/11/js-bigint-reviver.adoc @@ -65,7 +65,8 @@ console.log(typeof parsed[7]["a-bigint"]) The output of the above is: -.... +[source,javascript] +---- [ null, true, @@ -79,7 +80,7 @@ The output of the above is: [null,true,false,-1,3.14,"a string",{"a-number":"-123"},{"a-bigint":"-123n"}] string bigint -.... +---- If you're on a web browser, you can probably try copying and pasting the above code on the console right now, as is. |