All checks were successful
ci / fast (linux) (push) Successful in 6m35s
Implement primitive string property access (.length) and 18 String prototype methods (charAt, indexOf, slice, toUpperCase, trim, etc.), Function.name/.length properties and Function.prototype.call() for direct member-call syntax, and Object.prototype.toString.call() for type-tag formatting via a new setup_builtins() initializer. Changes NativeFn signature to receive Option<&JsValue> this parameter so native functions can access their receiver. Adds repeat() safety guard against Infinity/negative/OOM, fixes indexOf empty-string clamping and lastIndexOf optional from parameter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
47 B
Plaintext
13 lines
47 B
Plaintext
h
|
|
o
|
|
|
|
2
|
|
-1
|
|
true
|
|
false
|
|
ell
|
|
llo
|
|
hello
|
|
HELLO
|
|
hello
|