Skip to content

Commit

Permalink
Add some jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Feb 3, 2022
1 parent 698fe79 commit 238f14b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/sinon/proxy-call.js
Expand Up @@ -14,6 +14,11 @@ var map = arrayProto.map;
var reduce = arrayProto.reduce;
var slice = arrayProto.slice;

/**
* @param proxy
* @param text
* @param args
*/
function throwYieldError(proxy, text, args) {
var msg = functionName(proxy) + text;
if (args.length) {
Expand Down Expand Up @@ -250,6 +255,15 @@ Object.defineProperty(callProto, "stack", {

callProto.invokeCallback = callProto.yield;

/**
* @param proxy
* @param thisValue
* @param args
* @param returnValue
* @param exception
* @param id
* @param errorWithCallStack
*/
function createProxyCall(
proxy,
thisValue,
Expand Down

0 comments on commit 238f14b

Please sign in to comment.