pull/701/merge
Amaldev 4 months ago committed by GitHub
commit 957bd860d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -521,7 +521,7 @@ Splice: It takes three parameters:Starting position, number of times to be remov
```js ```js
const numbers = [1, 2, 3, 4, 5] const numbers = [1, 2, 3, 4, 5]
numbers.splice() numbers.splice('')
console.log(numbers) // -> remove all items console.log(numbers) // -> remove all items
``` ```

@ -594,7 +594,7 @@ Let us declare variables with different data types. To declare a variable, we ne
let nameOfVariable = value; let nameOfVariable = value;
``` ```
The nameOfVriable is the name that stores different data of value. See below for detail examples. The nameOfVariable is the name that stores different data of value. See below for detail examples.
**Examples of declared variables** **Examples of declared variables**

@ -657,7 +657,7 @@ Let us declare variables with different data types. To declare a variable, we ne
let nameOfVariable = value let nameOfVariable = value
``` ```
The nameOfVriable is the name that stores different data of value. See below for detail examples. The nameOfVariable is the name that stores different data of value. See below for detail examples.
**Examples of declared variables** **Examples of declared variables**

Loading…
Cancel
Save