JavaScript Question 86
Question 86 of 0JavaScript
Which option is a way to set `hasName` equal to `true`, provided you cannot pass `true` as an argument?
Code:
function getName(name) {
const hasName = //
}function getName(name) {
const hasName = //
}