Is there any way to get the address of a smart contract via the JS SDK?

Pretty much the title. I can do this with goal via $goal app info --app-id $local_app_id | awk 'NR==2 {print $3}' but neither the getApplicationByID method on the AlgodV2 class nor the lookupApplications method on the Indexer class return an application address.

The application address can be derived just from the application ID.

In Go, see How do i get Application Account Address through Golang Algorand SDK? - #2 by fabrice
Other SDK have similar functions.