| 428 | } |
| 429 | |
| 430 | JSValueID IJavaScriptContext::stashJSValue(JSValueRef&& valueRef) { |
| 431 | auto wasRetained = valueRef.isRetained(); |
| 432 | return stashJSValue(valueRef.unsafeReleaseValue(), !wasRetained); |
| 433 | } |
| 434 | |
| 435 | JSValueID IJavaScriptContext::stashJSValue(const JSValue& value) { |
| 436 | return stashJSValue(value, true); |
no test coverage detected