Hi,
the only thing that comes in my mind is eval. You can try to eval the
content of the value string and see if its working. If nit, you have to
treat this value as string i guess.

var value;
try {
  value = eval(arr[i][1]);
} catch (e) {
  value = arr[i][1];
}

This may have some restrictions because the string always needs to have
valid javascript in it to be evaluated correct but that should not be a
problem in regular cases.

Regards,
Martin
-- 
View this message in context: 
http://n2.nabble.com/implicit-type-conversion-tp4548364p4553418.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to