Basic JavaScript Question:

How to get printed below characters as it is using JavaScript?


ʻsales person of the yearʼ
Microsoft's
»

ʻ
ʼ
'
x



"
Φ
-
ö
£



-
"
″'
µ',
°',
θ',
θ',
















Tweet Share WhatsApp

Answer:

Solution Is:
<script>
ducument.write(encodeURI(►));
OR
ducument.write(encodeURIComponent(►));
</script>

Download JavaScript PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
How to write Hello World on the web page?What is JavaScript?