Skip to content

Commit 16147f9

Browse files
authored
bir kaç başlık daha çevrildi
1 parent b960e5e commit 16147f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

1-js/13-modules/02-import-export/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ Bunun bir kaç nedeni var.
115115

116116
## Import "as"
117117

118-
We can also use `as` to import under different names.
118+
Farklı isimler altında içeriye aktarmak için `as` da kullanabiliriz.
119119

120-
For instance, let's import `sayHi` into the local variable `hi` for brevity, and same for `sayBye`:
120+
Örneğin, Hadi kısa olması için `sayHi` değişkenini `hi` yerel değişken içine alalım. Aynı şekilde `sayBye` içinde:
121121

122122
```js
123123
// 📁 main.js
@@ -131,17 +131,17 @@ bye('John'); // Bye, John!
131131

132132
## Export "as"
133133

134-
The similar syntax exists for `export`.
134+
Benzer sözdizimleri `export` içinde var.
135135

136-
Let's export functions as `hi` and `bye`:
136+
Hadi fonksiyonları `hi` ve `bye` olarak dışarıya aktaralım:
137137

138138
```js
139139
// 📁 say.js
140140
...
141141
export {sayHi as hi, sayBye as bye};
142142
```
143143

144-
Now `hi` and `bye` are official names for outsiders:
144+
Şimdi `hi` ve `bye` dışarıdakiler için resmi isimler:
145145

146146
```js
147147
// 📁 main.js

0 commit comments

Comments
 (0)