Trivial. But if there is no point to create a var, don't do it. I would assume that's something it will be called often and it won't help readability, so creating a variable is unnecessary ; even if trivial, you still avoid some memory/CPU operations.