codedamn

Logical Operators

Created by Codedamn about a year ago

0

No description provided

11 Comments

    0

    Thanks Mehul, for creating this course <3

    @champmaniac

    Prantik Mukherjee

    @champmaniac

    0

    This content was deleted by the author

    @dheepa123

    DHEEPA K

    @dheepa123

    2

    So thats how bribe works

    @snappyfingerss

    Ansh Saxena

    @snappyfingerss

    0

    1

    @botter

    Devansh Dwivedi

    @botter

    0

    This comment was deleted

    @rajatsinha1710

    Rajat Sinha

    @rajatsinha1710

    0

    // Basic calculator with parameters

    function performMath(number1, number2, operator) { if (operator == '+') { return number1 + number2;

    }
    else if (operator == '*') {
        return number1 * number2;
    }
    

    } const MathP = performMath(22, 33, '*'); console.log(MathP);

    @aslam111

    Sayed Aslam Shah

    @aslam111

    3

    Ha Ha Ha! Only we Indians can Understand this 'Bribe' Logic...

    @arjunbalan

    Arjun Arasu S

    @arjunbalan

    0

    logical operator && , || , !

    @000srini000

    S.SRINIVASAN

    @000srini000

    1

    A lot of things are possible with logical operators. Would love to have a chance to practice this in the course. This concept would be a bit tough to grasp if I had never been exposed to it before.

    Perhaps even a reference to a document to see more examples. Googling "Logical operator examples in Javascript" had a wealth of information for those who may be looking for more information.

    @winandhelpwin

    Andy

    @winandhelpwin

    1

    This comment was deleted

    @tarunvadde

    Tarun Vadde

    @tarunvadde

    1

    if any of you have issues with learning logical operators i would suggest to see this truth table https://press.rebus.community/programmingfundamentals/chapter/logical-operators/

    @nikhilshetty

    Nikhilshetty

    @nikhilshetty

Your comment