Closed
Description
search
function would need to be added to the string object here:
https://github.com/jasonwilliams/boa/blob/master/src/lib/js/string.rs
It would be very similar to:
https://github.com/jasonwilliams/boa/blob/master/src/lib/js/regexp.rs#L212-L251
Spec:
https://tc39.es/ecma262/#sec-string.prototype.search
Debugging:
https://github.com/jasonwilliams/boa/blob/master/docs/debugging.md