Const in JavaScript 🚫【3 minutes】

preview_player
Показать описание
#Javascript #const #constants

// const = a variable that can't be changed

const PI = 3.14159;
let radius;
let circumference;

radius = Number(radius);

//PI = 420.69;

circumference = 2 * PI * radius;

Рекомендации по теме
Комментарии
Автор

// const = a variable that can't be changed

const PI = 3.14159;
let radius;
let circumference;

radius = window.prompt("Enter the radius of a circle");
radius = Number(radius);

//PI = 420.69;

circumference = 2 * PI * radius;

console.log("The circumference is:", circumference);

BroCodez
Автор

Dude you made me to love coding everyday.
thanks so much.

onlinestudies-jm
Автор

Thank you.... Quick, simple and easy to understand.

jamelha
Автор

Such a nice lecture video. Highly recommended.

AbdiShegute-snpw
Автор

thank you for lesson. I am going to watch more lessons from this channel

andrewsiu
Автор

It makes my journe y so much easier thx a lot!

Taecy
Автор

Thank you, Bro! You are a great teacher <3

hoatranminh
Автор

Hello Bro! I havent left any comment yet for this video... just solid, short video... moving forward to the next one. Cheers!!

AdrianStefanik
Автор

Python programmer: we don't do that at here

rubik
Автор

bro, i hope you can make a video about jquery in the future

millsbelamideb.
Автор

//I wantr food
const Fridge = 0
alert(My fridge is empty)

Seven_Red_Suns.
Автор

Need your help bro please reply i am from. India 🇮🇳🙏

DEVRAJ-vefw