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

v.gen.js: port string methods and fix booleans (#10824)

This commit is contained in:
playX
2021-07-18 09:00:20 +03:00
committed by GitHub
parent 8b8f496762
commit d5e0fa6d1b
13 changed files with 332 additions and 12 deletions

View File

@@ -121,5 +121,5 @@ fn (s JS.String) toUpperCase() JS.String
fn (s JS.String) toLowerCase() JS.String
fn (s JS.String) concat(a JS.String) JS.String
fn (s JS.String) includes(substr JS.String) bool
fn (s JS.String) ends_with(substr JS.String) bool
fn (s JS.String) starts_with(substr JS.String) bool
fn (s JS.String) endsWith(substr JS.String) bool
fn (s JS.String) startsWith(substr JS.String) bool