when can conditionals be one liners js code example Example: one line if statement javascript if (lemons) document.write("foo gave me a bar");