Skip to content

Commit

Permalink
add typescript hello with object
Browse files Browse the repository at this point in the history
  • Loading branch information
vikumkbv committed Oct 5, 2018
1 parent 6be1545 commit aaa1646
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions typescript/hello.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
function greeting(person){
return "Hello"+person;
}

let user = "Vikum";
//document.html.innerBody = user(greeting);
console.log("Hello" + user);


let user1:String = "hi all how are you";
console.log(user1)
if(!user1){
console.log("se")
}else{
console.log("go and find obj")

}


//this just a simple workout with type script

0 comments on commit aaa1646

Please sign in to comment.