If there is invalid JS in a transformation and it fails to execute during runtime, this will fail silently and still return the transformed object from the API call. This is to prevent someone from accidentally breaking a transformation at the organization or account level, and thereby breaking all API calls for that resource to everyone underneath.