Basic JavaScript Question:
Download Job Interview Questions and Answers 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>
<script>
ducument.write(encodeURI(►));
OR
ducument.write(encodeURIComponent(►));
</script>
Download JavaScript Interview Questions And Answers
PDF
Previous Question | Next Question |
How to write Hello World on the web page? | What is JavaScript? |