in JavaScript non è possibile.

ciao