Skip to content

Commit

Permalink
spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanakumargn committed Nov 21, 2016
1 parent f33535b commit f27055c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions www/assets/pages/js_classes.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h4>Static methods</h4>
</section>
<h4>Inheritance</h4>
<p>The extends keyword is used in class declarations or class expressions to create a class as a child of another class.</p>
<p>ES6 introduced two keyworks <code>extends</code> and <code>super</code> to inherit properties and methods from parent class.</p>
<p>ES6 introduced two keywords <code>extends</code> and <code>super</code> to inherit properties and methods from parent class.</p>
<p>The <code>extends</code> keyword is used in class declarations or class expressions to create a class as a child of another class.</p>
<p>The <code>super</code> keyword is used to call functions on an object's parent.</p>
<section hljs hljs-no-escape>
Expand All @@ -102,5 +102,4 @@ <h4>Inheritance</h4>
//Calling parent function
console.log(s.fullName()); // FIRSTNAME LASTNAME
console.log(s.studentDetail()); // FirstName:firstname LastName:lastname Grade:3rd
</section>
<br/>
</section>
2 changes: 1 addition & 1 deletion www/assets/pages/js_let_constants.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2>Constants</h2>
PI = 3.14;
console.log(PI); // Identifier 'PI' has already been declared
</section>
<p>Cannot re-assign any value to const after declration.</p>
<p>Cannot re-assign any value to const after declaration.</p>
<section hljs>
const PI = 3.14;
PI = 3.14;
Expand Down
3 changes: 1 addition & 2 deletions www/assets/pages/js_rest_parameter.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ <h4>Other usage example</h4>
console.log(total); // 150
}
student('myname', 10,20,30,40,50);
</section>
<br/>
</section>
3 changes: 1 addition & 2 deletions www/assets/pages/js_spread_operator.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ <h2>Spread operator</h2>

<h2>Rest operator Vs spread syntax</h2>
<p>Rest operator<code>...</code> looks exactly like the spread syntax<code>...</code> and is used for destructuring arrays and objects.</p>
<p>In a way, Rest elements are the opposite of spread elements - spread elements 'expands' an array into its elements, and rest elements collects multiple elements and 'condenses' into a single element.</p>
<br/>
<p>In a way, Rest elements are the opposite of spread elements - spread elements 'expands' an array into its elements, and rest elements collects multiple elements and 'condenses' into a single element.</p>

0 comments on commit f27055c

Please sign in to comment.