有人可以告诉我我们如何使用此方法吗?

时间:2019-12-28 14:34:21

标签: javascript conditional-statements

let tool = '';

tool = 'marker';

// Use short circuit evaluation to assign writingUtensil variable below:
let writingUtensil = tool || 'pen';

console.log(`The ${writingUtensil} is mightier than the sword.`);

“与上述真实的虚假陈述有关的更多示例,请解释”

0 个答案:

没有答案