This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Visit Qatar Foundation</h2> | |
<p>Thank you for your interest in Qatar Foundation.</p> | |
<div><a class="typeform-share button" href="https://abdulrehmankhawar.typeform.com/to/MuoByq" data-mode="2" target="_blank">Start now</a> | |
<script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'share.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}id=id+'_';if(!gi.call(d,id)){qs=ce.call(d,'link');qs.rel='stylesheet';qs.id=id;qs.href=b+'share-button.css';s=gt.call(d,'head')[0];s.appendChild(qs,s)}})()</script></div> | |
<br /> | |
<br /> | |
<br /> | |
<h3>Before you start</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'underscore'; | |
let ranks = [{name:'one',rank:1},{name:'two',rank:2}]; | |
let getByRanks = (ranks)=>{ | |
return _.sortBy(_pluck(ranks,'rank'), function(num) { | |
return num; | |
}) | |
}; | |
let getRankAverage = (ranks)=>{ |