Scripting: Pick a random element from a list

Can we have a primitive that picks a random value from a list?

For testing travel sites we want a dynamic value to be picked from a list of airports for example random(Jfk,mco,ord,den,sfo,lhr,las) should return one each time the script runs

Could you open a github issue to track it? https://github.com/WPO-Foundation/webpagetest/issues