Javascript super beginner.

var str;
str = (100 + 80) +"yen" ;;
document.write (str);

↑ If i put "quote" symbol in place of "yen", it will be in standby status.

  • Answer # 1

    Escape sequence

    "Become waiting" is probably an error and processing has been interrupted, so check the browser development tool console.

    If you want to display special characters such as circles in your browser, you can use&yen ;.

    HTML special characters

  • Answer # 2

    \should be preceded with one escape. str = (100 + 80) +'\\&apos ;;
    Deleted as pointed out in the comments.
    Ignore this answer.