Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby empty array

empty_array = Array.new 
empty_array = []

array = [a, b, c]
empty_array = array.clear
 
PREVIOUS NEXT
Tagged: #ruby #empty #array
ADD COMMENT
Topic
Name
7+3 =