Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Strings 2/5 | Data Types and Variables
Introduction to JavaScript (staging)
course content

Зміст курсу

Introduction to JavaScript (staging)

Introduction to JavaScript (staging)

1. Introduction
2. JavaScript syntax
3. Data Types and Variables

Strings 2/5

String length:

We use the length property to check the length of the string.

1
console.log(`JavaScript`.length );
copy

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Note: length property also considers the spaces between the string length.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 20
toggle bottom row

Strings 2/5

String length:

We use the length property to check the length of the string.

1
console.log(`JavaScript`.length );
copy

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Note: length property also considers the spaces between the string length.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 20
toggle bottom row

Strings 2/5

String length:

We use the length property to check the length of the string.

1
console.log(`JavaScript`.length );
copy

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Note: length property also considers the spaces between the string length.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

String length:

We use the length property to check the length of the string.

1
console.log(`JavaScript`.length );
copy

Завдання

The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.

Note: length property also considers the spaces between the string length.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 3. Розділ 20
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt