Skip to content

Commit

Permalink
[js] Fix nqp::setdimensions return value
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 9, 2017
1 parent b94eb1e commit 69261ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/nqp-runtime/core.js
Expand Up @@ -1070,7 +1070,7 @@ op.dimensions = function(array) {

op.setdimensions = function(array, dimensions) {
array.$$setdimensions(dimensions);
return dimensions;
return array;
};

// TODO optimize
Expand Down

0 comments on commit 69261ed

Please sign in to comment.