Skip to content

Commit 596522a

Browse files
author
soheil_h_y
committed
1. Adding needed Boolean apis
1 parent 85ce074 commit 596522a

File tree

1 file changed

+11
-0
lines changed
  • sources/net.sf.j2s.java.core/src/java/lang

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* http://j2s.sf.net/ */
2+
Boolean.prototype.booleanValue=function(){
3+
return this.valueOf();
4+
}
5+
6+
7+
Boolean.TRUE=Boolean.prototype.TRUE=new Boolean(true);
8+
Boolean.FALSE=Boolean.prototype.FALSE=new Boolean(false);
9+
10+
11+

0 commit comments

Comments
 (0)