new to js here... using a bit out of necessity :-).
Why is my conditional writing "shares" to the console when the parameter(x) is writing "notionalLarge" to the console?
    console.log(x);
    if(x == 'sharesLarge' || 'sharesSmall' ) {
        console.log("shares");
    } else if (x == 'notionalLarge' || 'notionalSmall' ) {
        console.log("notional");
    } else {
        console.log("error");
    }
}```
CONSOLE:
[Log] notionalLarge (sharesOrNotional.js, line 2)
[Log] shares (sharesOrNotional.js, line 4)
 
    