Advertisement
nzisaacnz

fun with comments

Dec 18th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function log(callback){
  2.  console.log("here");
  3.  callback();
  4. }
  5.  
  6.  
  7. //change the following comment line to /* to enable log
  8. /*
  9. log(function(){
  10.  console.log("5+5 = ",5+5);
  11. /*/
  12.  console.log("5+5 = ",5+5);
  13. /*/
  14. });
  15. //*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement