We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I played a little bit with tpyo in the interactive node shell and noticed that tpyo inserts the value 2 to any array passed to the tpyo function.
2
tpyo
$ node --harmony > var tpyo = require('tpyo'); undefined > var foobar = [1,2,3,4,5]; undefined > foobar [ 1, 2, 3, 4, 5 ] > tpyo(foobar) 6 > foobar [ 2, 1, 2, 3, 4, 5 ] > var t = [9,8,7,6,5] undefined > t [ 9, 8, 7, 6, 5 ] > tpyo(t) 6 > t [ 2, 9, 8, 7, 6, 5 ] > t = ['a', 'b', 'c'] [ 'a', 'b', 'c' ] > t [ 'a', 'b', 'c' ] > tpyo(t) 4 > t [ 2, 'a', 'b', 'c' ]
The text was updated successfully, but these errors were encountered:
Here is another example without interactive shell:
var tpyo = require('tpyo'); var foobar = tpyo([1,2,3,4,5]); console.log(foobar); console.log(foobar.toStr1ng());
console.log(foobar) seems to be the problem.
console.log(foobar)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I played a little bit with tpyo in the interactive node shell and noticed that tpyo inserts the value
2
to any array passed to thetpyo
function.The text was updated successfully, but these errors were encountered: