11 lines
352 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Finding a Remainder in JavaScript
---
# Finding a Remainder in JavaScript
The remainder operator `%` gives the remainder of the division of two numbers.
var remainder = 11 % 3; //remainder gets the value 2
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->