Skip to content
Snippets Groups Projects
Commit d42f2ea7 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Work on the assumption that obj is an Array...

typeof (new Array()) === 'object' but an Array not not be an Object(?)
parent a5bab62b
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ function TickITCfg() {
function lcprops(obj)
{
if(typeof obj == 'object') {
if(typeof obj == 'object' && !Array.isArray(obj)) {
var i;
var keys = Object.keys(obj);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment