Format numbers by function node

Hi my dear friends
I try to format my numbers by format method in function but it say format is not defind.
can anyone help me please?
My reference

Your reference is from Java not JavaScript.

You would have to do something like that:

'3'.padStart(2, '0')