I hereby claim:
- I am devesh-shetty on github.
- I am deveshshetty (https://keybase.io/deveshshetty) on keybase.
- I have a public key ASDEUrKwNGco7pgm9CUBvdgDqZzmpj9WDrhu_MRF0MtCtwo
To claim this, I am signing this object:
| function smartRefresh() { | |
| fetch(window.location.href).then(function (response) { | |
| if (response.status === 200) { | |
| location.reload(); | |
| return; | |
| } | |
| smartRefresh(); | |
| }); | |
| } |
I hereby claim:
To claim this, I am signing this object:
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x