Skip to content

Conversation

Ombuweb
Copy link
Contributor

@Ombuweb Ombuweb commented Nov 20, 2022

No description provided.

@cla-bot cla-bot bot added the cla: yes label Nov 20, 2022
@Ombuweb Ombuweb marked this pull request as draft November 22, 2022 22:30
@Ombuweb Ombuweb marked this pull request as ready for review November 22, 2022 22:30
JavaScript [String](http://www.w3schools.com/jsref/jsref_obj_string.asp) maps to [kotlin.String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html):

```js
var kotlinClass = new com.example.KotlinClassWithStringProperty()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'let' or 'const' in place of 'var'? Who still uses var?


### Converting JavaScript Number to Java/Kotlin numeric types

Java and Koltin have several primitive numeric types while JavaScript has the `Number` type only. Additionally, unlike JavaScript, Java and Kotlin support [Method Overloading](http://en.wikipedia.org/wiki/Function_overloading), which makes the numeric conversion more complex.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo found, should be Kotlin, not Koltin.

JS now has a new number type of BigInt

NathanWalker and others added 6 commits July 29, 2023 13:45
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
@NathanWalker NathanWalker changed the base branch from main to dev July 29, 2023 20:49
NathanWalker and others added 4 commits July 29, 2023 13:53
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
@NathanWalker NathanWalker merged commit a707567 into NativeScript:dev Jul 29, 2023
NathanWalker added a commit to Ombuweb/docs that referenced this pull request Aug 13, 2023
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
NathanWalker added a commit to Ombuweb/docs that referenced this pull request Aug 13, 2023
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
NathanWalker added a commit to Ombuweb/docs that referenced this pull request Aug 30, 2023
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
Co-authored-by: Sean Kelly <36159246+SeanKelly369@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants