diff --git a/index.js b/index.js index 1cc7434..442e95b 100644 --- a/index.js +++ b/index.js @@ -29,7 +29,7 @@ function init() { ret[name] = { get: function () { var obj = defineProps(function self() { - var str = [].slice.call(arguments).join(' '); + var str = Array.prototype.slice.call(arguments).join(' '); if (!chalk.enabled) { return str;