Baptiste Augrain
Baptiste Augrain
``` const cars = [ { make: 'Peugeot', model: '508' } null { make: 'Renault', model: 'Clio' } ] const makes = cars*.make // ['Peugeot', null, 'Renault'] const makes =...
http://www.blackwasp.co.uk/MarkObsolete.aspx https://www.scala-lang.org/api/2.12.1/scala/deprecated.html
https://www.bignerdranch.com/blog/kotlin-when-to-use-lazy-or-lateinit/ https://kotlinlang.org/docs/reference/delegated-properties.html https://medium.com/til-kotlin/how-kotlins-delegated-properties-and-lazy-initialization-work-552cbad8be60
``` extern sealed class Date { setDate(value: Number): Number } impl Date { private alias _setDate = setDate private alias _setDate = overwrite setDate private alias _setDate = super setDate...
``` extern Buffer #[if(feature(Buffer.from))] { func btoa(value: String) => Buffer.from(value).toString('base64') func atob(value: String) => Buffer.from(value, 'base64').toString('utf8') } #[else] { func btoa(value: String) => new Buffer(value).toString('base64') func atob(value: String) => new...
Typed destructuring can be tricky... In JavaScript ```javascript const [x, y] = [42] // x = 42, y = undefined ``` In kaoscript, the equivalent would be: ```kaoscript const [x?,...