Test case details

Preparation Code

Test cases

Test #1

const number = 10; const stringNumber = number + '';

Test #2

const number = 10; const stringNumber = `${number}`;

Test #3

const number = 10; const stringNumber = String(number);

Test #4

const number = 10; const stringNumber = number.toString();