BCE0018 error

var pictureDisplay :Display = new Display[3];

i want to use this code in js but it give me this error BCE0018: The name ‘Display’ does not denote a valid type (‘not found’).

what am i doing wrong?

Display isn’t an Unity type, thus it should be declared somewhere. If you’re copying this code from some source, look for the Display type declaration.