Skip to content

Syntax Corrections #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,7 @@ let airplane = {
ratings: 4.9,

book(passenger, flightNum) {
console.log(
`${passenger} Booked flight in ${this.flightName} with flight Number ${this.atacode}${flightNum}`
);
console.log(`${passenger} Booked flight in ${this.flightName} with flight Number ${this.atacode}${flightNum}`);
},
};

Expand Down Expand Up @@ -447,12 +445,7 @@ _[From video lecture 6.2]_

```html
<form action="" class="testForm">
<input
type="password"
name=""
class="inputPass"
placeholder="Enter Password"
/>
<input type="password" name="" class="inputPass" placeholder="Enter Password" />

<input type="submit" value="Check Password" />
</form>
Expand Down Expand Up @@ -1161,13 +1154,9 @@ console.log(name, age);
_[From video lecture 12.3]_

```js
let nums = [5, 7, 4, 9, 2, 8];

let nums = [5,7,4,9,2,8];



let newNums = "store Shallow copy of nums inside newNums variable")

let newNums = 'store Shallow copy of nums inside newNums variable';
```

**12.5:** You have given an array as below . Create a function which accept **multiple** elements as an argument and return last **4** element of the array
Expand Down Expand Up @@ -1322,6 +1311,7 @@ let set = new Set[(1, 2, 3, 2, 1, 3, 4, 12, 2)]();
output;

let arr = 'Do something here to convert....';
console.log(arr);
```

**Question 8:** Guess the **Output** and Explain Why?
Expand Down