if undefined

by aaronk85

JavaScript

var plotted;
var test = (plotted || 'Not clicked');
console.log(test);