Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Code-Bullet/Jump-King
/ cannotReturnOwn
Function
cannotReturnOwn
libraries/p5.js:249–251 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
247
}
248
249
function
cannotReturnOwn() {
250
return
new
TypeError(
'A promises callback cannot return that same promise.'
);
251
}
252
253
function
getThen(promise) {
254
try {
Callers
1
invokeCallback
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected