Skip to content

Instantly share code, notes, and snippets.

@ankitamasand ankitamasand/interface-tms.js Secret
Created Apr 17, 2019

Embed
What would you like to do?
function buildTeslaModelS (teslaObj: TeslaModelS) {
}
buildTeslaModelS({
length: 196,
width: 86,
wheelbase: 116,
seatingCapacity: 4,
getTyrePressure: function () {
let tyrePressure = 20 // Evaluated after doing a few complex computations!
return tyrePressure
},
getRemCharging: function () {
let remCharging = 20 // Evaluated after doing a few complex computations!
return remCharging
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.