Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubyYARV bytecodeSingle-choice MCQ

Because YARV determines whether a bare identifier is a local variable at parse time, what does `test` return?

def x; "method"; end def test if false x = "assigned" end x end p test