This commit is contained in:
flywind 2021-03-05 14:41:20 +08:00 • committed by GitHub
commit cda443ee68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 43 additions and 57 deletions

View file

@ -36,3 +36,4 @@ when defined(js):
proc hasBigUint64Array*(): bool =
asm """`result` = typeof BigUint64Array != 'undefined'"""
proc getProtoName*[T](a: T): cstring {.importjs: "Object.prototype.toString.call(#)".}