Remove moot length check
This commit is contained in:
parent
ee019114cc
commit
5508259457
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -152,7 +152,7 @@ function applyStyle() {
|
||||||
// Support varags, but simply cast to string in case there's only one arg
|
// Support varags, but simply cast to string in case there's only one arg
|
||||||
const args = arguments;
|
const args = arguments;
|
||||||
const argsLen = args.length;
|
const argsLen = args.length;
|
||||||
let str = argsLen !== 0 && String(arguments[0]);
|
let str = String(arguments[0]);
|
||||||
|
|
||||||
if (argsLen === 0) {
|
if (argsLen === 0) {
|
||||||
return '';
|
return '';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue