-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
17 lines (17 loc) · 1.39 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// var heading = 'Rule For naming JS variable\r\r\r'
// var stateone = 'Varable name can only contain ,numbers, $ and _.For example : $my_1stVarable'
// var statethree = 'Varable name are case sensitive'
// var statefore = 'Varable name should not be JS keywords'
// var statetwo = 'Variable mush begin with a letter, $ and _.For example : $name, _name or name'
// var br = '\r'
// document.write(heading)
// document.write(stateone)
// document.write(br)
// document.write(statetwo)
// document.write(br)
// document.write(statethree)
// document.write(br)
// document.write(statefore)
// var text = 'Rule For naming JS variable \r\r\r\r Varable name can only contain ,numbers, $ and _.For example : $my_1stVarable\rVariable mush begin with a letter, $ and _.For example : $name, _name or name\rVarable name are case sensitive\rVarable name should not be JS keywords'
document.write('Rule For naming JS variable \r\r\r\r Varable name can only contain ,numbers, $ and _.For example : $my_1stVarable\rVariable mush begin with a letter, $ and _.For example : $name, _name or name\rVarable name are case sensitive\rVarable name should not be JS keywords')
alert('Rule For naming JS variable \r\r Varable name can only contain ,numbers, $ and _.For example : $my_1stVarable\rVariable mush begin with a letter, $ and _.For example : $name, _name or name\rVarable name are case sensitive\rVarable name should not be JS keywords')