From eaf9f698bc85bf622d14c2a47921cb12552e03f2 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Wed, 21 Feb 2024 12:40:55 -0800 Subject: [PATCH] fix description to not reference ToNumber --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index f07e84b..8a8a3df 100644 --- a/spec.html +++ b/spec.html @@ -20,7 +20,7 @@

Introduction

Math.sumExact ( _items_ )

-

Given an iterable of values, this function calls ToNumber on each value and returns their sum.

+

Given an iterable of Numbers, this function sums each value in the iterable and returns their sum. If any value is not a Number it throws a *TypeError* exception.

It performs the following steps when called:

1. Perform ? RequireObjectCoercible(_items_).