Q: What does `basket` evaluates to ?
Answered
quizz 3/36
product_id = 156 name = "cool sneakers" basket = {product_id: , name: }
copy
Ruby 3.3.0
{:product_id=>nil, :name=>nil}
{:product_id=>156, :name=>"cool sneakers"}
undefined local variable or method 'product_id' for main (NameError)
{:product_id=>0, :name=>""}
privacy policy