Fix some enhancements & new features
This commit is contained in:
5
build/js/include/core/objectLength.js
Normal file
5
build/js/include/core/objectLength.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function objectLength(list)
|
||||
{
|
||||
return ( typeof(list) == 'Array' ) ? list.length : Object.keys(list).length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user