Link to home
Start Free TrialLog in
Avatar of LelloLello
LelloLello

asked on

Array

I'd like to use run a function that return a true value? Can a parsefloat do that ?
Avatar of LelloLello
LelloLello

ASKER

When u run that function which one can return a true value for an array  do that ?
 filter() or  splice() or sort()  or parseFloat()

Can you define what you mean by true value, or give an example of an array and what you want to return?
I'd like to know which functions of these 4 when i run a test it will return on every array a new array have a true value.
What do you mean by "True Value?"  Float value?  Int value?

What would you want returned from this:
var myArray = [24, '37.2', 'foo33', 'bar', 1, '-99'];

Open in new window

array value a float??
Please provide an example of what you want.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_4913559
Member_2_4913559
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial