Advertisement
Guest User

Untitled

a guest
May 27th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function replace(text, callback) {
  2.     result = text.toUpperCase();
  3.     callback (result, "unused");
  4. }
  5.  
  6. replace('what', function (stuff, blah) {
  7.     console.log(stuff);
  8. //    console.log(blah);
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement