File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ console . log ( "waseem akram" ) ;
Original file line number Diff line number Diff line change
1
+ console . log ( "waseem akram" ) ;
2
+
3
+ type user = {
4
+ name : string ;
5
+ id : number ;
6
+ } ;
Original file line number Diff line number Diff line change
1
+ "use strict" ;
2
+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3
+ var mystring = "hello world" ;
4
+ mystring = "waseem akram " ;
5
+ var best = mystring . toUpperCase ( ) ;
6
+ mystring . trim ( ) ;
7
+ console . log ( mystring ) ;
8
+ console . log ( best ) ;
9
+ //Number
10
+ var score = 334433.3 ;
11
+ var anOther = score . toFixed ( ) ;
12
+ console . log ( score ) ;
13
+ console . log ( anOther ) ;
14
+ //boolean
15
+ var isLoggedIn = true ;
16
+ var value = isLoggedIn . valueOf ( ) ;
17
+ console . log ( isLoggedIn ) ;
18
+ console . log ( value ) ;
Original file line number Diff line number Diff line change
1
+ let mystring : string = "hello world" ;
2
+
3
+ mystring = "waseem akram " ;
4
+
5
+ let best = mystring . toUpperCase ( ) ;
6
+ mystring . trim ( ) ;
7
+ console . log ( mystring ) ;
8
+ console . log ( best ) ;
9
+
10
+ //Number
11
+ let score : number = 334433.3 ;
12
+ let anOther = score . toFixed ( ) ;
13
+ console . log ( score ) ;
14
+ console . log ( anOther ) ;
15
+
16
+ //boolean
17
+
18
+ let isLoggedIn : boolean = true ;
19
+ let value = isLoggedIn . valueOf ( ) ;
20
+ console . log ( isLoggedIn ) ;
21
+ console . log ( value ) ;
22
+
23
+ //any
24
+
25
+ let specialBoy ;
26
+ function chocoBoy ( ) {
27
+ return "fahad_chocolaty " ;
28
+ }
29
+ specialBoy = chocoBoy ( ) ;
30
+
31
+ export { } ;
You can’t perform that action at this time.
0 commit comments