[js] add testcase for array indexDefect and remove todo (#19838)
* remove unused opcSubstr * [js] add testcase for array indexDefect * Revert "remove unused opcSubstr" This reverts commit cb461f2545234d62c1e0b83318f3e5495c97de52.
This commit is contained in:
parent
8cde6ba6bc
commit
1e5dd9022b
2 changed files with 9 additions and 4 deletions
|
|
@ -731,10 +731,6 @@ proc parseFloatNative(a: string): float =
|
|||
`result` = Number(`a2`);
|
||||
"""
|
||||
|
||||
#[
|
||||
xxx how come code like this doesn't give IndexDefect ?
|
||||
let z = s[10000] == 'a'
|
||||
]#
|
||||
proc nimParseBiggestFloat(s: string, number: var BiggestFloat, start: int): int {.compilerproc.} =
|
||||
var sign: bool
|
||||
var i = start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue