Skip to content

Commit c015329

Browse files
authored
Merge pull request #176 from kayraberktuncer/master
Browser console text has been edited.
2 parents a7c8ab7 + 0ac09b1 commit c015329

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

1-js/02-first-steps/03-strict-mode/article.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,29 @@ Modern JavaScript'i eski haline getiren `"no use strict"` gibi bir direktif bulu
4848
Sıkı moda girdiğinizda artık eskiye dönüş yoktur.
4949
```
5050
51-
## Browser console
51+
## Tarayıcı Konsolu
5252
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.
5454
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.
5656
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:
5858
5959
```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>
6363
```
6464

65-
It works in most browsers, namely Firefox and Chrome.
65+
Çoğu tarayıcıda, yani Firefox ve Chrome'da çalışır.
6666

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:
6868

6969
```js
7070
(function() {
7171
'use strict';
7272

73-
// ...your code...
73+
// ...sizin kodunuz...
7474
})()
7575
```
7676

0 commit comments

Comments
 (0)