Const in JavaScript 🚫【3 minutes】

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 เม.ย. 2022
  • #Javascript #const #constants
    // 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);
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 33

  • @BroCodez
    @BroCodez  2 ปีที่แล้ว +6

    // 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);

  • @jamelha
    @jamelha ปีที่แล้ว +1

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

  • @user-rc9ti8cz3s
    @user-rc9ti8cz3s 8 หลายเดือนก่อน +1

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

  • @hoatranminh5216
    @hoatranminh5216 ปีที่แล้ว

    Thank you, Bro! You are a great teacher

  • @AbdiShegute-sn8pw
    @AbdiShegute-sn8pw หลายเดือนก่อน

    Such a nice lecture video. Highly recommended.

  • @andrewsiu7281
    @andrewsiu7281 4 หลายเดือนก่อน

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

  • @Taecy7454
    @Taecy7454 หลายเดือนก่อน

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

  • @TheEvertonDias
    @TheEvertonDias ปีที่แล้ว

    Thanks, Bro!

  • @MrLoser-ks2xn
    @MrLoser-ks2xn ปีที่แล้ว

    Thanks!

  • @AdrianStefanik1
    @AdrianStefanik1 ปีที่แล้ว

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

  • @khayalabdullayev
    @khayalabdullayev 10 หลายเดือนก่อน

    Thank you

  • @campfirestories470
    @campfirestories470 ปีที่แล้ว +1

    Bro thanks a looooot

  • @ike2818
    @ike2818 2 หลายเดือนก่อน

    thanks m8

  • @bikibalami4829
    @bikibalami4829 10 หลายเดือนก่อน

    thanks bro

  • @MohyDev
    @MohyDev 2 ปีที่แล้ว +3

    // For the TH-cam algorithm!

  • @jaidkarim9080
    @jaidkarim9080 ปีที่แล้ว +5

    lost my shit at 420.69

  • @kartikchauhan2778
    @kartikchauhan2778 ปีที่แล้ว

    Nicceee

  • @bomapdich
    @bomapdich ปีที่แล้ว

    Can you calculate the circumcision

  • @millsbelamideb.4293
    @millsbelamideb.4293 9 หลายเดือนก่อน

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

  • @rubik1452
    @rubik1452 2 ปีที่แล้ว +7

    Python programmer: we don't do that at here

    • @mgames3209
      @mgames3209 2 ปีที่แล้ว

      Cool a fellow python programmer and that’s true

    • @mgames3209
      @mgames3209 2 ปีที่แล้ว +2

      True*

    • @rubik1452
      @rubik1452 2 ปีที่แล้ว

      @@mgames3209 so are you a python programmer
      with me it's not because i just learn it

    • @oximas-oe9vf
      @oximas-oe9vf ปีที่แล้ว

      lmao

  • @Seven_Red_Suns.
    @Seven_Red_Suns. 2 หลายเดือนก่อน

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

  • @ThePixelSigma
    @ThePixelSigma 8 หลายเดือนก่อน +1

    #fya #for-the -youtube-algorithm

  • @harshjha4451
    @harshjha4451 ปีที่แล้ว +1

  • @jondrive8801
    @jondrive8801 หลายเดือนก่อน

    random comment. thank you

  • @murtezagorur3130
    @murtezagorur3130 ปีที่แล้ว

    comment down below

  • @lucabinder9829
    @lucabinder9829 2 ปีที่แล้ว

    I am fellow bro

  • @grvsha
    @grvsha 4 หลายเดือนก่อน

    420.69... got it 😅

  • @DEVRAJ-ve7fw
    @DEVRAJ-ve7fw 5 หลายเดือนก่อน

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