Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
prabrisha-rudder authored and sayan-rudder committed Sep 30, 2019
1 parent d7ff6cc commit 9688354
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rudder-client-javascript/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ class test {
}

page(category, name, properties, options, callback) {

console.log("type=== " + typeof arguments);

var args = Array.from(arguments);
console.log("args ", args);
if (typeof(options) == "function") (callback = options), (options = null);
if (typeof(properties) == "function") (callback = properties), (options = properties = null);
if (typeof(name) == "function") (callback = name), (options = properties = name = null);
Expand Down

0 comments on commit 9688354

Please sign in to comment.