Skip to content
Jobless Busters
JavaScriptQuestion 33 of 36Multiple choice

What does 'ok' && 42 return?

What does this code print?

JavaScript
console.log('ok' && 42);

Choose one answer.

Source: Quiz question based on a card · Full Stack / JS

The answer and explanation come from the source card linked below.