Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function replace(text, callback) {
- result = text.toUpperCase();
- callback (result, "unused");
- }
- replace('what', function (stuff, blah) {
- console.log(stuff);
- // console.log(blah);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement