From b41aa26889f0f0478e83e4e186389088799718a0 Mon Sep 17 00:00:00 2001 From: Srinath Date: Fri, 26 Oct 2018 02:04:46 +0530 Subject: [PATCH] Fixed typo --- data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.js b/data.js index b902fa9..703073a 100644 --- a/data.js +++ b/data.js @@ -100,7 +100,7 @@ var explorerDataEn = { 'name': 'map', 'link_name': 'map', 'desc': 'calls the given block once for each element in the array. Returns the original array, whose values have been replaced by the values returned by the block', - 'text': 'nums = [4, 5, 6] #=> [4, 5, 6]
nums.each{|x| x+10} #=> [14, 15, 16]' + 'text': 'nums = [4, 5, 6] #=> [4, 5, 6]
nums.map{|x| x+10} #=> [14, 15, 16]' } }, 'sort': {