我如何将结果与 JavaScript 的另一个文本一起使用

How I can use result with another text with JavaScript

我正在我的商店中设置优惠券,但我想用我的 JavaScript alter 做点什么,但我不知道该怎么做。

success: function (result) {
    Swal.fire({
        position: 'center',
        type: 'success',
        title: "Coupon check",
        text: (result),
        showConfirmButton: false,
        timer: 1500
    })
}

这是我的脚本函数和结果,我的问题是我如何才能这样做:

Your coupon for (result) was successfully added!

因为我不知道如何在 "' 中使用 (result)

使用字符串连接:

            text: "Your coupon for " + result + " was successfully added!",