Arrow functions

by Pritesh Patel

JavaScript

const factorial = n => n === 0 ? 1 : n * factorial(n - 1)