Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Task - Declaring a Variable | Manipulating Data
Introduction to JavaScript
course content

Зміст курсу

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
2. Manipulating Data
3. Conditional Statements

book
Task - Declaring a Variable

Завдання

Swipe to start coding

In the given code, there's a console.log line trying to output a variable called users.

Your task is:

  • Declare a variable called users;
  • Assign it a value of 157;

The code should output: Number of Users: 157.

Make sure you declare it at the correct place so that the code compiles successfully.

Note

You can use any valid syntax to declare and initialize the variable.

Рішення

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

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

book
Task - Declaring a Variable

Завдання

Swipe to start coding

In the given code, there's a console.log line trying to output a variable called users.

Your task is:

  • Declare a variable called users;
  • Assign it a value of 157;

The code should output: Number of Users: 157.

Make sure you declare it at the correct place so that the code compiles successfully.

Note

You can use any valid syntax to declare and initialize the variable.

Рішення

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt