X485: Arrays - Perfect Array

Priscilla Perfect detests imperfection (hence the name). Write a program to analyze a given array and return true if the array is worthy of being presented to Priscilla.
An array is considered perfect if there are no empty slots. Empty slots in the given array will have a value of 0.

Examples:

isPerfectArray({2, 3, 4, 5, 6}) ->  true
isPerfectArray({1, 1, 4, 5, 6, 0, 0, 0, 0}) -> false

Your Answer:

Feedback

Your feedback will appear here when you check your answer.