Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Removing javascript comments

by Joost (Canon)
on Apr 09, 2008 at 22:30 UTC ( #679364=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     var res = a / 4 /* whatever */
                     ^^^^^^^^^^^^^^ comment
    
  2. or download this
     var res = /bla \/*  .*/.exec("stuff");
                     ^^^^^^^ not a comment
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://679364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-05-17 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?