Meaning of javascript text between two slashes -
on dreamweaver if write on javascript document text between 2 slashes like
<script type="text/javascript"> /text/ </script>
it becomes green.
what meaning of text? not comment, neither "html text".
thank you
it regular expression litteral.
from w3schools:
var patt=new regexp(pattern,modifiers); or more simply: var patt=/pattern/modifiers;
and mdn:
regexp(pattern [, flags]) /pattern/flags
Comments
Post a Comment