Created
April 23, 2018 10:57
-
-
Save GZShi/4fdf316ea6e0e93441587d195e872d94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zs from 'ZSBridge.js' | |
;(async function () { | |
try { | |
let { account, apass } = await zs.getAccount() | |
console.log(`current account is ${account}`) | |
} catch(ex) { | |
console.log(`failed: ${ex}`) | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment