Skip to content

Instantly share code, notes, and snippets.

@dcaoyuan
Created December 16, 2014 10:08
Show Gist options
  • Save dcaoyuan/aee0dcd354c0d5baa283 to your computer and use it in GitHub Desktop.
Save dcaoyuan/aee0dcd354c0d5baa283 to your computer and use it in GitHub Desktop.
function calc() {
var llt = account.get("lastLoginTime");
llt += 1;
account.put("lastLoginTime", llt);
llt = account.get("lastLoginTime");
notify(llt)
}
function notify(value) {
print(id + ":" + value);
}
calc();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment