Что такое объект в JS?

JS - вопросы о главном

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Структура, которая объединяет пары ключ-значение
2.
FLASHCARD QUESTION
Front
Какой из методов массива добавит в него новый элемент? arr.pop(), arr.append(), arr.add(), arr.push()
Back
arr.push()
3.
FLASHCARD QUESTION
Front
Как правильно создать объект в JS? Options: let student = [ name: "Vasya"; age: 15;];, let student = { name: "Vasya"; age: 15;};, let student = { name = "Vasya", age = 15};, let student = { name: "Vasya", age: 15};
Back
let student = { name: "Vasya", age: 15};
4.
FLASHCARD QUESTION
Front
Как создать массив в JS?
Back
let arr = []
5.
FLASHCARD QUESTION
Front
Какой метод может удалить элемент из массива?
Back
splice
6.
FLASHCARD QUESTION
Front
Выведет ли данный код все элементы массива в консоль?
Back
Нет
7.
FLASHCARD QUESTION
Front
Выберите вариант кода, который выведет в консоль значения всех свойств объекта student: for(let key in student){ console.log(student.key);}, for(let i=0; i<student.length; i++){ console.log(student[i]);}, for(let key in student){ console.log(student[key]);}, for(let i=0; i<student.length; i++){ console.log(student.i);}.
Back
for(let key in student){ console.log(student[key]);}
8.
FLASHCARD QUESTION
Front
Как можно получить доступ к свойству hp объекта hero? Options: hero[hp], hero['hp'], hero.hp, hero->hp, hero["hp"], hero(hp), hero["hp"], hero.hp, hero(hp), hero.hp, hero['hp'], hero["hp"]
Back
hero.hp, hero['hp'], hero["hp"]
Similar Resources on Quizizz
8 questions
The Terraria Ultra hard flashcard

Flashcard
•
KG - Professional Dev...
7 questions
Strange Newburyport

Flashcard
•
9th - 12th Grade
10 questions
RHS - Pedestal Grinder Safety Test

Flashcard
•
9th - 12th Grade
9 questions
Faith: Hebrews 11

Flashcard
•
KG - 12th Grade
11 questions
Asking About Names in Spanish

Flashcard
•
9th - 12th Grade
10 questions
Beowulf - Background, Vocab., & Beginning

Flashcard
•
9th - 12th Grade
10 questions
Disney Trivia for Fun Round 7

Flashcard
•
KG - University
8 questions
Dog man

Flashcard
•
KG - Professional Dev...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University