1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: codegen fixes, W.I.P os availability for JS backend (#11281)

This commit is contained in:
playX
2021-08-23 14:25:02 +03:00
committed by GitHub
parent 47278b4a7d
commit d78e7e3b2b
11 changed files with 635 additions and 274 deletions

View File

@@ -1,3 +1,7 @@
module math
fn JS.Math.pow(x f64, y f64) f64
pub fn pow(x f64, y f64) f64 {
return JS.Math.pow(x, y)
}