use constant inside another constant js code example Example: const in javascript const value = 10; const constant = value;