#[
autogenerated by docgen
loc: /build/nim/src/nim/lib/js/jsffi.nim(224, 3)
rdoccmd: 
]#
import std/assertions
import "/build/nim/src/nim/lib/js/jsffi.nim"
{.line: ("/build/nim/src/nim/lib/js/jsffi.nim", 224, 3).}:
  let obj = newJsObject()
  obj.a = 20
  assert obj.a.to(int) == 20

