パラセタモールjs💊| #82:EvericaエステC


エステC .ディゴ


console.log("--- Menú ---");
console.log("" + ".".repeat(5) + ":" + "$1.50");
console.log("café" + ".".repeat(3.2) + ":" + "$3.75");
console.log("cerveza" + ".".repeat(-1) + ":" + "$5.00");
A .
--- Menú---
.....:$1.50
café...:$3.75
RangeError: repeat count must be non-negative
b .
--- Menú---
.....:$1.50
café...:$3.75
cerveza:$5.00
c.
--- Menú---
.....:$1.50
RangeError: repeat count must be non-decimal numbers
RangeError: repeat count must be non-negative numbers
Preemestaエヌエルプライマーcomentario.