# Array Metonds practice
```
let names = [
"Steven Paul Jobs",
"Bill Gates",
"Mark Elliot Zuckerberg",
"Elon Musk",
"Jeff Bezos",
"Warren Edward Buffett",
"Larry Page",
"Larry Ellison",
"Tim Cook",
"Lloyd Blankfein",
];
```
## Q1.
### map
* Convert all names to uppercase and print them.
* you can use .uppercase method to uppercase the name.
## Q2.
### filter
* Print the names of people that include the letter "a"
## Q3.
### find
* Find the person whose full name length is 20 characters or more.
## Q4.
### ?
* Find the index of the person whose full name is 20 characters or more.
<br><br>
answer code
https://hackmd.io/@7ou6tNnWQymscuTqec1zFQ/B1lMs6Vdree
<br><br>
# ES6 Object practice
```
const student = {
id: 101,
name: "Minho",
grade: "A",
school: "K-High"
};
```
<br>
## Q1.
* Add a greet() method inside the object using method shorthand syntax.
* Use destructuring to extract name and print a greeting.
=> To use destructuring inside a method, apply it to this, not to the object variable name
<br>
## Q2.
* Make a copy of the student object and update the grade to "B" using the spread operator.
<br>
<br>
answer code
https://hackmd.io/@7ou6tNnWQymscuTqec1zFQ/B1lMs6Vdree