How to unit-test a private (non-exported) function in JavaScript

How to unit-test a private (non-exported) function in JavaScript

More to explore

Based on this image's title: “How to unit-test a private (non-exported) function in JavaScript