천객만래 [千客萬來] (It has an interminable succession of visitors)

'operators'에 해당되는 글 1건

  1. 2019.04.10 COFFEESCRIPT vs JAVASCRIPT - 조건식 오퍼레이터

Conditional operators

You have already seen the conditional operator is, however CoffeeScript offers a range of operators to match those present in JavaScript.

COFFEESCRIPT vs JAVASCRIPT

COFFEESCRIPT JAVASCRIPT
is ===
isnt !==
not !
and &&
or ||
true, yes, off true
false, no, off false

Now you can successfully use if, else and unless with conditional operators to create a basic program! In the next part we will explore functions and their unique syntax.

Posted by SB패밀리