Skip to content

Commit

Permalink
WebDev Class - 8: Added Video Link
Browse files Browse the repository at this point in the history
  • Loading branch information
pirateksh committed Oct 29, 2021
1 parent 508b66b commit a10c1b6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion WebDev/2021_10_29_WebClass-8/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Web Development Class - VIII

## Web Development Class - VIII recording: [Here](https://drive.google.com/file/d/17j-O9cUiR_l5cPI9lSSu8_3SmYnjBfw6/view?usp=sharing)

#### October 29, 2021

<div align="center"><img src="./images/js.png" alt="JS" height=150/></div>
Expand Down Expand Up @@ -184,6 +186,12 @@
// object destructuring
const { first_name, last_name } = person;

// object destructuring - This will give Error (undefined)
const { a, b } = person;

// object destructuring (changing name)
const { first_name: new_first_name, last_name } = person;

// Can You Relate? Destructuring is somewhat similar to "Tuple Unpacking" in Python.

const a = [1, 2, 3]
Expand Down Expand Up @@ -564,7 +572,7 @@
console.log(videoDetail);
})
.catch(err => {
console.log(`Error occured ${e}`);
console.log(`Error occured ${err}`);
})

console.log("finish");
Expand Down

0 comments on commit a10c1b6

Please sign in to comment.