Skip to content

Commit a7ab62c

Browse files
committed
Pass on arguments without array'izing it
1 parent 1df2c68 commit a7ab62c

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
@@ -143,7 +143,7 @@
143143
api.getJSON = function () {
144144
return api.apply({
145145
json: true
146-
}, [].slice.call(arguments));
146+
}, arguments);
147147
};
148148
api.remove = function (key, attributes) {
149149
api(key, '', extend(attributes, {

0 commit comments

Comments
 (0)