I want to make subfunction like a.b.c(), I can't find name for this. Sorry for english.
a.b.c()
What you are describing is just a function within an object, within another object, like so:
const a = { b: { c: () => "hello World", }, };