Don't flip if there's less than 2 arguments.

This commit is contained in:
John-David Dalton
2015-09-09 08:31:03 -07:00
parent 6b09f1f233
commit 4d7aeb8b96

View File

@@ -3507,7 +3507,7 @@
if (argPos) {
args = reorder(args, argPos);
} else if (isFlip) {
} else if (isFlip && args.length > 1) {
args.reverse();
}
if (isAry && ary < args.length) {