Ինչ կտպի հետևյալ կոդը
var str = "Hello";
alert(str.length)
String Methods
Quiz
•
Other
•
Professional Development
•
Hard
Shogher Ghazaryan
Used 21+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի հետևյալ կոդը
var str = "Hello";
alert(str.length)
6
5
4
undefined
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "Hello world";
var res = str.slice(1, 7);
alert(res)
ello w
ello
ello wo
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "Hello world";
var res = str.substring(1, 5);
alert(res)
ello
ello w
Hello
world
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "Hello world";
var result = str.substr(6,1);
alert(result)
o
w
e
d
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "Hello world"
var res = str.slice(6)
alert(res)
o world
llo wo
Hello
world
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "HELLO WORLD";
str.toLowerCase();
alert(str.charAt(8))
R
O
r
o
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ինչ կտպի
var str = "Hello world! World!!!";
var result = str.indexOf("world");
alert(result)
6
12
-1
7
11 questions
Türkçe A1
Quiz
•
1st Grade - Professio...
10 questions
Web development 1
Quiz
•
Professional Development
13 questions
Weather Alert (Pre-Quiz)
Quiz
•
Professional Development
13 questions
day1
Quiz
•
Professional Development
10 questions
Python Basics
Quiz
•
Professional Development
10 questions
ՄԱՅՐԵՆԻ 4-րդ դասարանի գիտելիքների ստուգման թեստերի օրինակներ
Quiz
•
1st Grade - Professio...
12 questions
Շախմատ 4դասարան
Quiz
•
Professional Development
10 questions
Anime
Quiz
•
KG - Professional Dev...
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