extract array to a constant
Merge pull request #10293 from vipulnsward/dont_mutate_callback

extract array to a constant