Comment lire la clé de la configuration Web en javascript

<script>
    var apiUrl = '@System.Configuration.ConfigurationManager.AppSettings["url"]';
</script>
Crazy Coyote