1
0
forked from Mirror/wren

Add .pow(_) to Num

This commit is contained in:
underscorediscovery
2016-10-31 17:22:13 -02:30
parent 2650794340
commit 955e92761d
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
System.print(2.pow(4)) // expect: 16
System.print(2.pow(10)) // expect: 1024
System.print(1.pow(0)) // expect: 1