IO Operations:
==============
Output Operations:
==================
writing/printing anything to the console/terminal/browser is called as "output operation".
1) alert():
===========
Syntax:
alert(data)
Drawback:
=========
==> it can allow to define the confirmational alert only
==> we can't define optional alert.
Output Operations
========================================
2) confirm():
=============
Syntax:
confirm(data)
Output Operations
==================================
write():
========
Syntax:
document.write(data)
Output Operations
==========================================
innerText:
=========
Output Operations
==================================================
innerHTML:
==========
Output Operations
==========================================
outerHTML:
==========
Output Operations
=========================================
console methods:
================
1) console.log()
2) console.warn()
3) console.error()
=========================================
Input Operations:
=================
prompt():
=========
=====================================================
String Handling:
================
Index:
======
==> an integer
can use to represent the character of the string.
==> positive
Syntax:
str-obj[index]
=========================================
charAt():
=========
Syntax:
str-obj.charAt(Index)
=================================
toLowerCase()
=============
==> convert the total string into string in lower case.
toUpperCase()
=============
==> convert the string into string in upper case.