Basic JavaScript Question:
Download Questions PDF

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


ʻsales person of the yearʼ
Microsoft's
»

ʻ
ʼ
'
x



"
Φ
-
ö
£



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
















Answer:

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

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to write Hello World on the web page?What is JavaScript?