include::../rule.adoc[tag=header] === Code examples ==== Noncompliant code example [source,javascript,diff-id=1,diff-type=noncompliant] ---- function JavaScript101() { return ( <>
An introduction to JavaScript programming and its applications.
Understanding the basic concepts in JavaScript programming.
Explanation of what variables are and how to declare them in JavaScript.
Overview of the different data types in JavaScript.
// NoncompliantUnderstanding how to declare and use functions in JavaScript.
> ); } ---- ==== Compliant solution [source,javascript,diff-id=1,diff-type=compliant] ---- function JavaScript101() { return ( <>An introduction to JavaScript programming and its applications.
Understanding the basic concepts in JavaScript programming.
Explanation of what variables are and how to declare them in JavaScript.
Overview of the different data types in JavaScript.
Understanding how to declare and use functions in JavaScript.
> ); } ---- include::../rule.adoc[tag=footer]