Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function B() {
- this.A(function(result) {
- if(result) {
- alert("YES!");
- }
- });
- }
- function A(callback) {
- var success = function(resp) {
- callback(resp.IsMyValGood);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement