0

How would I print out quotation marks as in:

Steve said "hello world", not Steve said hello world?

var test = function(who,said) {
    alert(who + said);
}
test("Steve said ", "hello world"); 

I can see the answer involves '&quot' from another answer here but can't tell how to apply it here. Any help appreciated.

4

5 に答える 5