Adding sound to shorthand if statement
<p>I am currently adding extra sounds to my game. The problem is I have a shorthand if statement like "?...:..." and don't know how I can add audio to it. If it is not possible how would I make it a normal if statement without making it crash.</p>

<pre><code>    b.clone().addClass(
    b.data("letter") == target.data("letter") ? "wordglow3" : "wordglow").appendTo("table").css({
        background: "transparent",
        position: "absolute",
        top: currentPos.top,
        left: currentPos.left
    })
</code></pre>

<p>So if "wordglow3" I want to add "hit.play()" and for "wordglow" I want to add "miss.play()"</p>
