What's the SASS equivalent of Javascript's "var x = y || z"?

Javascript

var x = y || z (logical-or operator)

x = y if y is not falsy, otherwise z 

What’s the SASS/SCSS equivalent of Javascript’s "var x = y || z"?

110 thoughts on “What's the SASS equivalent of Javascript's "var x = y || z"?”

Leave a Comment