This isn't technically correct. You're relying on the string literal and js string notation being the same, which isn't true, and will specifically break if it has the character `'` in it. Not _practically_ a huge problem, but does create mental overhead when reviewing this for correctness.