Matlab Check Empty Array Javascript Documentation