reuse jsffi in json module (#17165)

* remove unnecessary when statement

* remove outdated codes

* reuse jsffi

* move js json coverage
This commit is contained in:
flywind
2021-03-05 02:37:12 +08:00
committed by GitHub
parent e1cc3b83fb
commit 81889fb84c
4 changed files with 17 additions and 23 deletions

View File

@@ -1,9 +1,10 @@
discard """
targets: "c js"
output:'''@["3", "2", "1"]
'''
"""
#12928,10456
import sequtils, algorithm, json
import std/[sequtils, algorithm, json]
proc test() =
try: