MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / constructor

Function constructor

test/embind/embind.test.js:697–701  ·  view source on GitHub ↗
(i, s, argument)

Source from the content-addressed store, hash-verified

695
696 test("can invoke constructors with arguments", function() {
697 function constructor(i, s, argument) {
698 this.i = i;
699 this.s = s;
700 this.argument = argument;
701 }
702 constructor.prototype.method = function() {
703 return this.argument;
704 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected