From afb6bd9fc2dbf40a07ac5be603c04d92cd799fec Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Mon, 31 Aug 2015 16:58:31 +0530 Subject: [PATCH] Syntax and typo fixed --- readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index eac7913..84fb710 100644 --- a/readme.md +++ b/readme.md @@ -100,7 +100,9 @@ executions with the the same input parameters. > A function whose definition does not include information regarding its arguments. -`let abs = Math.abs` +```js +let abs = Math.abs +``` --- @@ -158,8 +160,8 @@ let rand = function*() { } } ``` -``` -let randIter = random(); +```js +let randIter = rand(); randIter.next(); // Each exectuion gives a random value, expression is evluated on need. ``` ---