text: JavaScript program for Pascal ' s ▁ Triangle ▁ A ▁ O ( n ^ 2 ) ▁ time ▁ and ▁ O ( 1 ) ▁ extra ▁ space ▁ method ▁ for ▁ Pascal ' s Triangle Pascal function
code: function printPascal ( n ) { for ( line = 1 ; line <= n ; line ++ ) {