Are there any JavaScript testing frameworks that offer a similar functionality to Python's doctest?
function multiply(x, y) {
/**
Returns the product of `x` and `y`:
> multiply(4, 3)
12
The function handles string inputs by converting them to numbers:
> multiply('5', 2)
10
*/
return x * y;
}