Node.js Dot Notation as Namespace Mechanism
In node.js, when you have a dot notation like
is used purely as a namespace,
not as “data”.
const p = require('path'); const x = p.extname('xyz.html') console.log ( x ); // .html
This is true for about all node.js objects.
" x ".trim()