(all bool, accum []Value)
| 276 | } |
| 277 | |
| 278 | func (s *stringObject) stringKeys(all bool, accum []Value) []Value { |
| 279 | for i := 0; i < s.length; i++ { |
| 280 | accum = append(accum, asciiString(strconv.Itoa(i))) |
| 281 | } |
| 282 | |
| 283 | return s.baseObject.stringKeys(all, accum) |
| 284 | } |
| 285 | |
| 286 | func (s *stringObject) deleteStr(name unistring.String, throw bool) bool { |
| 287 | if i := strToGoIdx(name); i >= 0 && i < s.length { |
nothing calls this directly
no test coverage detected