skip to content
Bliss' Neon Blog

Codewars III (Kata VIII)

/ 1 min read

Problem III (Convert a Number to a String!)

Description

We need a function that can transform a number (integer) into a string.

Sample Problem

function numberToString(num) {
  // Return a string of the number here!
}

My solution

My solution for the number to string problem

function numberToString(num) {
  return num.toString();
}

Insight

Sin comentarios.