as said by Anix in a Roblox: Welcome to Bloxburg! video, the green things on top of a pineapple are called "pineapple hairs"
Ooh! Look at those vibrant green PINEAPPLE HAIRS!