This has always worked in a Javascript.
> `${`${`${`${`${1 + 1}`}`}`}`}`
'2'
It was simply a limitation with the Python parser.Heck, it even works in Vimscript
:echo $'{$'{$'{1 + 1}'}'}'
2