@@ -31,22 +31,22 @@ var t1 = 10;
31
31
var t2 = 10 ;
32
32
var s ;
33
33
// With TemplateTail
34
- Math . pow ( t1 , - t2 ) + " world" ;
35
- Math . pow ( ( - t1 ) , t2 ) - t1 + " world" ;
36
- Math . pow ( ( - ++ t1 ) , t2 ) - t1 + " world" ;
37
- Math . pow ( ( - t1 ++ ) , t2 ) - t1 + " world" ;
38
- Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) + " world" ;
39
- typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) + " world" ;
34
+ "" . concat ( Math . pow ( t1 , - t2 ) , " world" ) ;
35
+ "" . concat ( Math . pow ( ( - t1 ) , t2 ) - t1 , " world" ) ;
36
+ "" . concat ( Math . pow ( ( - ++ t1 ) , t2 ) - t1 , " world" ) ;
37
+ "" . concat ( Math . pow ( ( - t1 ++ ) , t2 ) - t1 , " world" ) ;
38
+ "" . concat ( Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) , " world" ) ;
39
+ "" . concat ( typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) , " world" ) ;
40
40
// TempateHead & TemplateTail are empt
41
- Math . pow ( t1 , - t2 ) + " hello world " + Math . pow ( t1 , - t2 ) ;
42
- Math . pow ( ( - t1 ) , t2 ) - t1 + " hello world " + ( Math . pow ( ( - t1 ) , t2 ) - t1 ) ;
43
- Math . pow ( ( - ++ t1 ) , t2 ) - t1 + " hello world " + Math . pow ( t1 , Math . pow ( ( - ++ t1 ) , - t1 ) ) ;
44
- Math . pow ( ( - t1 ++ ) , t2 ) - t1 + " hello world " + Math . pow ( t2 , Math . pow ( ( - t1 ++ ) , - t1 ) ) ;
45
- Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) + " hello world " + Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) ;
46
- typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) + " hello world " + typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) ;
41
+ "" . concat ( Math . pow ( t1 , - t2 ) , " hello world " ) . concat ( Math . pow ( t1 , - t2 ) ) ;
42
+ "" . concat ( Math . pow ( ( - t1 ) , t2 ) - t1 , " hello world " ) . concat ( Math . pow ( ( - t1 ) , t2 ) - t1 ) ;
43
+ "" . concat ( Math . pow ( ( - ++ t1 ) , t2 ) - t1 , " hello world " ) . concat ( Math . pow ( t1 , Math . pow ( ( - ++ t1 ) , - t1 ) ) ) ;
44
+ "" . concat ( Math . pow ( ( - t1 ++ ) , t2 ) - t1 , " hello world " ) . concat ( Math . pow ( t2 , Math . pow ( ( - t1 ++ ) , - t1 ) ) ) ;
45
+ "" . concat ( Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) , " hello world " ) . concat ( Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) ) ;
46
+ "" . concat ( typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) , " hello world " ) . concat ( typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) ) ;
47
47
// With templateHead
48
- "hello " + ( Math . pow ( ( - t1 ) , t2 ) - t1 ) ;
49
- "hello " + ( Math . pow ( ( - ++ t1 ) , t2 ) - t1 ) ;
50
- "hello " + ( Math . pow ( ( - t1 ++ ) , t2 ) - t1 ) ;
51
- "hello " + Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) ;
52
- "hello " + typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) ;
48
+ "hello " . concat ( Math . pow ( ( - t1 ) , t2 ) - t1 ) ;
49
+ "hello " . concat ( Math . pow ( ( - ++ t1 ) , t2 ) - t1 ) ;
50
+ "hello " . concat ( Math . pow ( ( - t1 ++ ) , t2 ) - t1 ) ;
51
+ "hello " . concat ( Math . pow ( ( ~ t1 ) , Math . pow ( t2 , -- t1 ) ) ) ;
52
+ "hello " . concat ( typeof ( Math . pow ( t1 , Math . pow ( t2 , t1 ) ) ) ) ;
0 commit comments