Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Variables Naming Convention | JavaScript syntax
Introduction to JavaScript

Свайпніть щоб показати меню

book
Variables Naming Convention

Variables naming convention:

  1. Variables in JavaScript are case-sensitive. Case-sensitive means variables are treated differently depending on whether it is in capitals or lower-case text.

12345
let name="Bob William"; console.log(name); let NAME ="Jacob Thomas"; console.log(NAME);
copy

We will get two different outputs because the name and NAME are two different variables.

Завдання

Swipe to start coding

Suppose there are 50 students in a class and you want to store this in a variable, and for that you need a variable name to store this information. Your task is to choose the suitable identifier for your variable name from these numberOfStudents, student, and std and print the value on the console.

Рішення

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

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

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

Секція 2. Розділ 8
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

Awesome!

Completion rate improved to 2

book
Variables Naming Convention

Variables naming convention:

  1. Variables in JavaScript are case-sensitive. Case-sensitive means variables are treated differently depending on whether it is in capitals or lower-case text.

12345
let name="Bob William"; console.log(name); let NAME ="Jacob Thomas"; console.log(NAME);
copy

We will get two different outputs because the name and NAME are two different variables.

Завдання

Swipe to start coding

Suppose there are 50 students in a class and you want to store this in a variable, and for that you need a variable name to store this information. Your task is to choose the suitable identifier for your variable name from these numberOfStudents, student, and std and print the value on the console.

Рішення

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

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

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

close

Awesome!

Completion rate improved to 2

Свайпніть щоб показати меню

some-alt