MCQs > IT & Programming > Ruby On Rails > What does the expression x ||= y mean?

Ruby On Rails MCQs

What does the expression x ||= y mean?

Answer

Correct Answer: x = y when x == false, otherwise x remains unchanged

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it