Arcade expression is not showing the global functions i.e. $map, $feature. Can any one help that why is this happening? Am I missing something in the configuration? Please refer to the attached snapshot bellow:

however these functions are visible in the webmap > add expression option.