Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 647 → Rev 648

/trunk/object.js
2504,8 → 2504,9
*/
function jsx_array_isIndex (index)
{
/* Exclude NaN and non-integers */
/* Exclude NaN (not equal to itself) and non-integers */
index = +index;
 
return ((index == index) && (index % 1 === 0));
}
 
2556,7 → 2557,7
var propertyName = properties[index];
if (propertyName != null)
{
o[propertyName] = a[i];
o[propertyName] = a[index];
}
}
}