From f27055c07950d017b6d913c13784e33d6ad6c733 Mon Sep 17 00:00:00 2001 From: Saravanakumar Date: Mon, 21 Nov 2016 11:48:40 +0530 Subject: [PATCH] spell check --- www/assets/pages/js_classes.tpl.html | 5 ++--- www/assets/pages/js_let_constants.tpl.html | 2 +- www/assets/pages/js_rest_parameter.tpl.html | 3 +-- www/assets/pages/js_spread_operator.tpl.html | 3 +-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/www/assets/pages/js_classes.tpl.html b/www/assets/pages/js_classes.tpl.html index 77dd625..a7636ab 100644 --- a/www/assets/pages/js_classes.tpl.html +++ b/www/assets/pages/js_classes.tpl.html @@ -75,7 +75,7 @@

Static methods

Inheritance

The extends keyword is used in class declarations or class expressions to create a class as a child of another class.

-

ES6 introduced two keyworks extends and super to inherit properties and methods from parent class.

+

ES6 introduced two keywords extends and super to inherit properties and methods from parent class.

The extends keyword is used in class declarations or class expressions to create a class as a child of another class.

The super keyword is used to call functions on an object's parent.

@@ -102,5 +102,4 @@

Inheritance

//Calling parent function console.log(s.fullName()); // FIRSTNAME LASTNAME console.log(s.studentDetail()); // FirstName:firstname LastName:lastname Grade:3rd -
-
\ No newline at end of file + \ No newline at end of file diff --git a/www/assets/pages/js_let_constants.tpl.html b/www/assets/pages/js_let_constants.tpl.html index ad055ed..53e5e98 100644 --- a/www/assets/pages/js_let_constants.tpl.html +++ b/www/assets/pages/js_let_constants.tpl.html @@ -60,7 +60,7 @@

Constants

PI = 3.14; console.log(PI); // Identifier 'PI' has already been declared -

Cannot re-assign any value to const after declration.

+

Cannot re-assign any value to const after declaration.

const PI = 3.14; PI = 3.14; diff --git a/www/assets/pages/js_rest_parameter.tpl.html b/www/assets/pages/js_rest_parameter.tpl.html index a6a76ae..fba30c2 100644 --- a/www/assets/pages/js_rest_parameter.tpl.html +++ b/www/assets/pages/js_rest_parameter.tpl.html @@ -46,5 +46,4 @@

Other usage example

console.log(total); // 150 } student('myname', 10,20,30,40,50); -
-
\ No newline at end of file + \ No newline at end of file diff --git a/www/assets/pages/js_spread_operator.tpl.html b/www/assets/pages/js_spread_operator.tpl.html index 9d32ead..d642e08 100644 --- a/www/assets/pages/js_spread_operator.tpl.html +++ b/www/assets/pages/js_spread_operator.tpl.html @@ -29,5 +29,4 @@

Spread operator

Rest operator Vs spread syntax

Rest operator... looks exactly like the spread syntax... and is used for destructuring arrays and objects.

-

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.

-
\ No newline at end of file +

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.

\ No newline at end of file