#13 Ternary Operator in JavaScript

preview_player
Показать описание

More Learning :

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

Excellent teaching really, term used in your videos is like big corporates teaches use same terms and type explanation.Thanks Sir.

ankitkanoujiya
Автор

The visuals are REALLY HELPFUL ! thanks

JacieWorld
Автор

The ternary operator is my favourite one, it makes the code compact and simple. <3

Btw there is a typo in the video title.

NTonik
Автор

I completed the even and odd program in this way when you given the last video:
let num = 6;
let result = num % 2 ;
if(result === 0)
console.log("Even");
else
console.log("Odd")

ANILKUMARPENKA
Автор

First view and first like I need java great going ❤️❤️ course

sidrhat
Автор

A useful tip: always ask questions and try to solve doubts using the comment section👍

CultOfJ
Автор

im pretty new to JS so heres a probably newbie question
considering that its a loosely written language why did we use "let" before num

diptangshudutta
Автор

Please make your facecam as well as in python series

informer
Автор

say me how to open the terminal in the right hand side...its always showing me in the bottom of the page

abdulcaderhamdhan
Автор

I have a small doubt why you are using === while comparing I can go through == right

LimitlessLivingDiscovery
Автор

please add a js library in this javascript tutorial like react or react native plzzz don't ignore my comment I have watched your python tutorial now i'm learning this js series from Pakistan

md.HamzaNoor
Автор

Sir how can we input values from consumer .
Can you make video of it .

aarrenvincent
Автор

please make on video microservices tutorial

DeepakGupta-hjdv
Автор

will you teach node.js in this playlist?

rohit_
Автор

please give me the link of these type of websites...

RahulKumar-rdxo
Автор

Sir can we have ternary operator as "odd " : "even" : "zero"

aarrenvincent
Автор

let day1 = "monday"
day234 = "tue || wed || the"
day5 = "fri"
day6 = "sat"
day7 = "sun"

const d = new Date("");


if (day1 = d ) {
console.log("waikup at 7am")

}
if (day234 = d ) {
console.log("waikup at 4am")
}
else {


console.log("waikup at 9am")
}

abhishekgundelli