is there any way to define javascript schema
<p>I have question , As we have XSD for defining the legal building blocks of an XML document do we have any similar schema language to define javascript elements.</p>

<p>thanks in advance.</p>
