mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: use prefixed names for functions and global symbols (#11387)
This commit is contained in:
15
vlib/builtin/js/float.js.v
Normal file
15
vlib/builtin/js/float.js.v
Normal file
@@ -0,0 +1,15 @@
|
||||
module builtin
|
||||
|
||||
pub fn (x f32) str() string {
|
||||
res := ''
|
||||
#res.str = x.val + ''
|
||||
|
||||
return res
|
||||
}
|
||||
|
||||
pub fn (x f64) str() string {
|
||||
res := ''
|
||||
#res.str = x.val + ''
|
||||
|
||||
return res
|
||||
}
|
Reference in New Issue
Block a user