Skip to content

Commit 51e8745

Browse files
There is no need to arrayify the arguments here
1 parent 82b9168 commit 51e8745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js.cookie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
// Write
4343

44-
if ([].slice.call(arguments).length > 1) {
44+
if (arguments.length > 1) {
4545
options = extend(api.defaults, options);
4646

4747
if (typeof options.expires === 'number') {

0 commit comments

Comments
 (0)