Get definition of Stored Procedure in SQL Server

sp_helptext is build-in stored procedure. It display the definition of stored procedure,
  1. USE TestDB  
  2. EXEC sp_helptext 'dbo.spname'