if metas is not defined and you try Array.isArray it will tell you that bootstrap.metas is undefined.