Algo programmers
前往频道在 Telegram
join to share your code learning experience
显示更多未指定国家未指定类别
286
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
I mean, what are the chances of a person learning Coding to turn his skills into money
Let's play to win cash prizes! Join me on GAMEE. https://prizes.gamee.com/get/zafuzzvo
⛔️TO DAY IS YOUR DAY.⛔️
✅Dear YOUTH AFRICAN family, how are you?✅
As is well known, your journey with alx is very encouraging. There is only one opportunity to create a civilized, developed and technologically advanced Africa. You are you, too. You can change the future of Africa Don’t interrupt your journey even if the circumstances don’t suit you. Doing big and difficult things will enable you to solve all the problems in Africa tomorrow so keep up the good work and keep on your journey, encourage each other, stand by each other, meet new friends, share your thoughts and love, let's join your hands and grow up Africa .
have a good Day.
WE PROUD AFRICA.
♾♾♾♾♾♾♾♾
🌏🌏🌏🌏🌏🌏🌏🌏
Join our twitter page.
https://twitter.com/TemesgenAbdiss1
Repost from EvoNext
✳️LESSON 2 : Booleans and Comparison Operators
📝The Boolean object represents a truth value:
true or false.
📌Any object, including a Boolean object whose value is false, evaluates to true when passed to a conditional statement.
for More click here "Boolean «📥
✅A comparison operator compares its operands and returns a boolean value based on whether the comparison is true.
⚽️These are >= , <= , = ,!= ...etc
@the operators can categorized as follows
+ Primary expressions
+ Left-hand-side expressions
+ Increment and decrement operations
+ Unary Operators
+ Arithmetic Operators
+ Relational Operators
+ Equality Operators
+ Bitwise Shift Operators
+ Binary bitwise operators
+ Binary bitwise operators
+ Binary logical operators . ..... etc
Eg;_ with different operator types
// === equal
'Andrew' === 'Andrew' // True
'Mike' === 'mike' // False
// !== not equal
'Andrew' !== 32 // True
12 !== 12 // False
// < less than
3 < 40 // True
3 < 3 // False
// <= less than or equal to
// 3 <= 3 // True
// 0 <= -23 // False
// > greater than
16 > -16 // True
-16 > 16 // False
// >= greater than or equal to
-23 >= -40 // True
100 => -100 // False
LESSON 3:IF and Advanced IF statements
⚾️if...else
The if...else statement executes a statement if a specified condition is truthy. If the condition is falsy, another statement in the optional else clause will be executed.
function testNum(a) {
let result;
if (a > 0) {
result = 'positive';
} else {
result = 'NOT positive';
}
return result;
}
console.log(testNum(-5));
// expected output: "NOT positive"
more on >👉 IF MDN 📥»CLICK ME
FOR FREE VIDEO :_ shorturl.at/dkmX8