Fixed stackStartFunction for assert.typeOf method