function parseZone(sizes) {
            if (typeof sizes === 'number') {
                if (sizes < 0) {
                    sizes = 0;
                }
                return [sizes, sizes, sizes, sizes];
            } else if (sizes instanceof Array) {
                switch (sizes.length) {
                    case 4:
                        return sizes;
                    case 3:
                        return [sizes[0], sizes[1], sizes[2], sizes[1]];
                    case 2:
                        return [sizes[0], sizes[1], sizes[0], sizes[1]];
                    case 1:
                        return [sizes[0], sizes[0], sizes[0], sizes[0]];
                }
            }

            return [0, 0, 0, 0];
        }
Boundary Identification Zone

@file BIZone.js
@author BE-FE Team
   shinate shine.wangrs@gmail.com