dp
04/14/2022, 9:12 PMpakoito
04/15/2022, 7:53 PMpakoito
04/15/2022, 7:54 PMthis
in any function and because of the lack of types it could call anything wherever at the callsite.pakoito
04/15/2022, 7:55 PMthis
that you refer to. This is used for both extension functions and lambdas.pakoito
04/15/2022, 7:55 PMlet
or apply
pakoito
04/15/2022, 7:56 PMpakoito
04/15/2022, 7:57 PMpakoito
04/15/2022, 7:57 PMobject
, which is JS's equivalent of...well, an object stored in a variablepakoito
04/15/2022, 7:58 PMobject Bla {... }
in Kotlin is const Bla: Bla = {... }
in JSpakoito
04/15/2022, 7:59 PMpakoito
04/15/2022, 8:00 PMpakoito
04/15/2022, 8:01 PMpakoito
04/15/2022, 8:02 PMdata class
. It comes with some things you'd expect to see by default in any class, like structural equality and stable hashes.pakoito
04/15/2022, 8:03 PMpakoito
04/15/2022, 8:03 PMpakoito
04/15/2022, 8:03 PMpakoito
04/15/2022, 8:04 PMdp
04/16/2022, 3:31 AM