Yes i read that. So basically all it does is [var] and creates an array of a single element with that element being the value of the argument
-----Original Message----- From: Fli7e [mailto:[email protected]] Sent: Wednesday, 23 March 2011 10:52 PM To: MooTools Users Subject: [Moo] Re: erase from array not working It returns an Array if the Input is an Array ... from the Docs: Returns: (array) If the variable passed in is an array, returns the array. Otherwise, returns an array with the only element being the variable passed in. On 23 Mrz., 12:41, "Steve Onnis" <[email protected]> wrote: > Yeah figured that. I thought Array.from() would convert the string into an array...i was wrong J > > From: Andrea Dessì [mailto:[email protected]] > Sent: Wednesday, 23 March 2011 7:41 PM > To: [email protected] > Subject: Re: [Moo] erase from array not working > > Hi Steve, > > you are missing to split the value of the text input :) > > have a look:http://jsfiddle.net/r8LSc/1/ > > -- > Andrea > > On Wed, Mar 23, 2011 at 05:42, Steve Onnis <[email protected]> wrote: > > Could someone have a quick look at this and maybe tell my why erase doesnt work? Include is working but not erase > > http://jsfiddle.net/r8LSc/ > > Thanks > > Steve
