Generation

generate functionTue, 21 Mar 2023

function agregarSimboloExclamacion(str) { // Agrega un símbolo de exclamación al final del string "str" y retórnalo // Ejemplo: "hello world" ---> "hello world!" // Tu código: }

function agregarSimboloExclamacion(str) { return str += "!"; } agregarSimboloExclamacion("hello world")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant