forked from engindemirog/javaScriptStarterKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
27 lines (21 loc) · 628 Bytes
/
app.js
File metadata and controls
27 lines (21 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
console.log("Merhaba Ünal")
let dolarDun=9.20
dolarDun="MUŞ" //javascript tip güvenli değildir.
let dolarBugun=9.30
{
let dolarBugun=9.10
}
console.log(dolarBugun)
const euroDun=11.35
//euroDun=11 //Bu şekilde doğru değil... çünkü const değişken
console.log(euroDun)
//PascalCasing--> ilk harfler büyük
//array
//camelCasing--> ilk harfler küçük
let konutKredileri=["Konut Kredisi","Emlak Konut Kredisi","Kamu Konut Kredisi","Özel Konut Kredisi"]
console.log("<ul>")
for(let index=0;index<konutKredileri.length;index++)
{
console.log("<li>"+konutKredileri[index]+"</li>")
}
console.log("</ul>")