JavaScript Check Array Índice NULL
if (array[index] != null) {
// The == and != operators consider null equal to only null or undefined
}
if (array[index] != null) {
// The == and != operators consider null equal to only null or undefined
}