There's no documentation for this item.
# File action_view/helpers/prototype_helper.rb, line 1089 def assign(variable, value) append_to_function_chain!("#{variable} = #{@generator.send(:javascript_object_for, value)}") end
<code/>
<pre/>
<code/>and<pre/>for code samples.