function test(msg) {
var d = msg;
}
const testBound = test.bind(null);
test("Hello");
test.bind(null, "Hello")();
test.call(null, "Hello");
test.apply(null, ["Hello"]);
testBound("Hello");
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
direct call | |
bind | |
call | |
apply | |
static bind |
This benchmark does not have any results yet. Be the first one to run it!