how to parse const in string in javascript code example Example: const in javascript const value = 10; const constant = value;