diff --git a/01_Day_JavaScript_Refresher/main.js b/01_Day_JavaScript_Refresher/main.js index 335d1e3..072da7b 100644 --- a/01_Day_JavaScript_Refresher/main.js +++ b/01_Day_JavaScript_Refresher/main.js @@ -50,5 +50,3 @@ countries.length % 2 === 0 ? console.log(countries.slice( 0,6 ),countries.slice( 6,12 )); - - diff --git a/01_Day_JavaScript_Refresher/object/index.html b/01_Day_JavaScript_Refresher/object/index.html deleted file mode 100644 index 8995074..0000000 --- a/01_Day_JavaScript_Refresher/object/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Object exercises - - - - - - \ No newline at end of file diff --git a/01_Day_JavaScript_Refresher/object/object.js b/01_Day_JavaScript_Refresher/object/object.js deleted file mode 100644 index ef28c81..0000000 --- a/01_Day_JavaScript_Refresher/object/object.js +++ /dev/null @@ -1,18 +0,0 @@ -console.log('OBJECT LİTERALS'); - -const dog = { - name:'Lessie', - color:'Brown', - legs: '4', - age: 3, - bark: 'wooof wooof' -} - -console.log(dog.name,dog['color']) - -dog.breed = 'rot'; -dog.GetDogInfo = function(){ - return `this dogs name is ${this.name} and it has good ${this.color} color it has ${this.legs} legs.`; -} - -console.log(dog.GetDogInfo()) \ No newline at end of file