Closed SnowMeteors closed 8 months ago
std::string js = R"(cppModifyHostRow(-1,-2);)"; my_window.run(js.c_str());
function cppModifyHostRow(index,a) { console.log(type(index)); console.log(index); if (index === -1) { console.log("asdf"); } console.log(a); } }
result After commenting out console.log
Sorry, I made a mistake in my code. It should be console. log (typeof (index))
result After commenting out console.log