Skip to content
New issue

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

fix(examples/connect): declare kc (kiteconnect client) with let and shorten expression in ticker.js #75

Merged
merged 2 commits into from
Jul 5, 2022

Conversation

bhavyasf
Copy link
Contributor

@bhavyasf bhavyasf commented Jun 23, 2022

not declaring variables with let/var/const can lead to an error (kc is not defied in ES6+).
and t == true will return boolean value always without using any ternary operator ?.

can lead to an error (kc is not defied in ES6+).
@bhavyasf bhavyasf changed the title fix(examples/connect): declare kc (kiteconnect client) with var fix(examples/connect): declare kc (kiteconnect client) with let Jun 25, 2022
`t == true` expression will already return true or false value without specifying a ternary operator `?`
@bhavyasf bhavyasf changed the title fix(examples/connect): declare kc (kiteconnect client) with let fix(examples/connect): declare kc (kiteconnect client) with let and shorten expression in ticker.js Jun 30, 2022
@vividvilla vividvilla merged commit ffbe571 into zerodha:master Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants