[njs] Introduced const implementation.