diff --git a/up & going/ch1.md b/up & going/ch1.md index 99f56c6bc..d90581278 100644 --- a/up & going/ch1.md +++ b/up & going/ch1.md @@ -1,7 +1,7 @@ # You Don't Know JS: Up & Going # Chapter 1: Into Programming -Welcome to the *You Don't Know JS* (*YDKJS*) series. +Öncelikle hoşgeldiniz *Sen JavaScript Bilmiyorsun* "*You Don't Know JS* (*YDKJS*)" serisine. *Up & Going* is an introduction to several basic concepts of programming -- of course we lean toward JavaScript (often abbreviated JS) specifically -- and how to approach and understand the rest of the titles in this series. Especially if you're just getting into programming and/or JavaScript, this book will briefly explore what you need to get *up and going*. @@ -13,9 +13,9 @@ Once you feel comfortable with general programming basics, Chapter 2 will help g If you're already fairly comfortable with JavaScript, first check out Chapter 3 as a brief glimpse of what to expect from *YDKJS*, then jump right in! -## Code +## Kod -Let's start from the beginning. +Hadi en başından başlayalım. A program, often referred to as *source code* or just *code*, is a set of special instructions to tell the computer what tasks to perform. Usually code is saved in a text file, although with JavaScript you can also type code directly into a developer console in a browser, which we'll cover shortly. diff --git a/up & going/ch2.md b/up & going/ch2.md index b033a8330..2d475de87 100644 --- a/up & going/ch2.md +++ b/up & going/ch2.md @@ -1,7 +1,9 @@ # You Don't Know JS: Up & Going -# Chapter 2: Into JavaScript +# Bölüm 2: JavaScript'e Giriş -In the previous chapter, I introduced the basic building blocks of programming, such as variables, loops, conditionals, and functions. Of course, all the code shown has been in JavaScript. But in this chapter, we want to focus specifically on things you need to know about JavaScript to get up and going as a JS developer. + the previous chapter, I introduced the basic building blocks of programming, such as variables, loops, conditionals, and functions. Of course, all the code shown has been in JavaScript. But in this chapter, we want to focus specifically on things you need to know about JavaScript to get up and going as a JS developer. + +Bir önceki bölümde, Sizlere bazı değişkenler, döngüler, Koşullamalar ve fonksiyonlar gibi programlamanın temel yapı taşlarını tanıttı. Tabii ki, gösterilen tüm kodu JavaScript olmuştur. Fakat bu bölümde, odaklanmak istediğimiz bir JavaScript bilmenizle beraber artık JS developer olmaya başlayabileceğiniz. We will introduce quite a few concepts in this chapter that will not be fully explored until subsequent *YDKJS* books. You can think of this chapter as an overview of the topics covered in detail throughout the rest of this series. @@ -11,9 +13,10 @@ Your journey to deeply learn JavaScript starts here. **Note:** As I said in Chapter 1, you should definitely try all this code yourself as you read and work through this chapter. Be aware that some of the code here assumes capabilities introduced in the newest version of JavaScript at the time of this writing (commonly referred to as "ES6" for the 6th edition of ECMAScript -- the official name of the JS specification). If you happen to be using an older, pre-ES6 browser, the code may not work. A recent update of a modern browser (like Chrome, Firefox, or IE) should be used. -## Values & Types +## Değerler & Tipler As we asserted in Chapter 1, JavaScript has typed values, not typed variables. The following built-in types are available: +Birinci bölümde söylediğimiz gibi, JavaScript yazım tipleri değil, yazdığınız değişkenler yazmamıştır.Aşağıdaki yerleşik değişkenler mevcuttur. * `string` * `number` @@ -23,10 +26,11 @@ As we asserted in Chapter 1, JavaScript has typed values, not typed variables. T * `symbol` (new to ES6) JavaScript provides a `typeof` operator that can examine a value and tell you what type it is: +JavaScriptin sağladığı bir operasyon olarakn `typeof` bize değerimizin hangi tipten olduğunu gösterir. ```js var a; -typeof a; // "undefined" +typeof a; // "undefined" "bilinmeyen" a = "hello world"; typeof a; // "string"