View on GitHub

Wiki

A Wiki which shows the results of different courses

Download this project as a .zip file Download this project as a tar.gz file

Navigation

AWS

Microservices

Docker

Kubernetes

ServiceNow

JavaScript

React

Ethical Hacking

parseInt & parseFloat

Used to parse strings into numbers, but watch out for NaN

parseInt('24') //24
parseInt('24.987') //24
parseInt('28dayslater') //28
parseInt('28dayslater 2') //28
parseInt('a28dayslater') //NaN

parseFloat('24.987') //24.987
parseFloat('7') //7
parseFloat('i ate 2 mushrooms') //NaN