When calling an application using JXA (JavaScript for automation), you can refer to the app by the bundle name or by the identifier, just like in AppleScript:
tell application "TextEdit" to activate
tell application id "com.apple.TextEdit" to activate
are equivalent to
Application('TextEdit').activate();
Application('com.apple.TextEdit').activate();
But in AppleScript one can also call an app by the bundle signature, which is often version-invariant and stable over time:
tell application id "ttxt" to activate
What is the JXA equivalent of this latter call? How can one create version-independent JXA scripts?