You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/03-strict-mode/article.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,29 +48,29 @@ Modern JavaScript'i eski haline getiren `"no use strict"` gibi bir direktif bulu
48
48
Sıkı moda girdiğinizda artık eskiye dönüş yoktur.
49
49
```
50
50
51
-
## Browser console
51
+
## Tarayıcı Konsolu
52
52
53
-
For the future, when you use a browser console to test features, please note that it doesn't `use strict` by default.
53
+
İleride özellikleri test etmek için bir [geliştirici konsolu](info:devtools) kullandığınızda, lütfen tarayıcının varsayılan olarak `use strict` kullanmadığını unutmayın.
54
54
55
-
Sometimes, when `use strict` makes a difference, you'll get incorrect results.
55
+
Bazen, `use strict` bir fark yarattığında, yanlış sonuçlar alırsınız.
56
56
57
-
You can try to press `key:Shift+Enter` to input multiple lines, and put `use strict` on top, like this:
57
+
Birden çok satır girmek için `key:Shift+Enter` tuşlarına basmayı deneyebilir ve üstte `use strict` kullanmayı deneyebilirsiniz, örneğin:
58
58
59
59
```js
60
-
'use strict'; <Shift+Enter for a newline>
61
-
// ...your code
62
-
<Enter to run>
60
+
'use strict'; <Yeni satır için Shift+Enter>
61
+
// ...sizin kodunuz
62
+
<Çalıştırmak için Enter>
63
63
```
64
64
65
-
It works in most browsers, namely Firefox and Chrome.
65
+
Çoğu tarayıcıda, yani Firefox ve Chrome'da çalışır.
66
66
67
-
If it doesn't, the most reliable way to ensure `use strict`would be to input the code into console like this:
67
+
Aksi takdirde, `use strict`eklemenin en güvenilir yolu, kodu konsola şu şekilde girmek olacaktır:
0 commit comments