diff --git a/typescript/hello.ts b/typescript/hello.ts new file mode 100644 index 000000000..d9f698d6b --- /dev/null +++ b/typescript/hello.ts @@ -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 \ No newline at end of file