Fix check preventing arrays having one or more dimensions equal to zero
Fix check preventing arrays having one or more dimensions equal to zero

stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib