UNPKG
@lenka/alchemist
Version:
latest (1.0.6)
1.0.6
0.9.2
0.9.1
0.9.0
0.8.0
0.7.1
0.7.0
0.6.7
0.6.6
0.6.5
0.6.4
Microlibrary for multiple inheritance
github.com/alex-paschenko/alchemist
alex-paschenko/alchemist
@lenka/alchemist
/
dist
/
esm
/
inheritance
/
logInheritance.js
7 lines
•
260 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ buildProtoChain }
from
'./buildProtoChain'
;
export
function
logInheritance
(
instance, place =
'unknown'
) {
const
chain =
buildProtoChain
(instance);
console
.
log
(
`[
${place}
]:
${chain.join(
' <- '
)}
`
); } ;
//# sourceMappingURL=logInheritance.js.map