Message from JavaScript discussions

July 2019

— That's great question.. But I haven't heard of something like that. I would be great though, Js -> android/+ios

Message permanent page

— 

Surely you can......There is js framework called React Native developed by Facebook......This framework is solely developed to create mobile app using javascript.

— Every dyanamic website needs to have javascript. so basically without javascript we can only build static sites.

Message permanent page

— Ionic !

— How can I use flask with Firebase any documentation ?

— Several ES2019 Features You Can Use Today

A brief look at Object.fromEntries, trimStart, trimEnd, flat, flatMap, and more. - http://amp.gs/OwM7

#javascript #es2019

Message permanent page

— Every web app

— Why is that not a constructor ?


function airplane() {
this.mission = 'secret'
this.airplane = new germanAirplane(this.mission)
}

Message permanent page

— Because it's not used as a constructor

— THank you

— YoU aRe WeLcOME🤤

— I have another question im sitting on it since yesterday and the whole day today and i dont know why js behaves that way:

Im working on a telegram bot. Everything is working fine but the file is getting large. Because of that i want to split the bot into diffrent java files one for admin one for 8ball etc.

Now to inizialize the bot i use that:

let myCoolBot = new TelegramBot(botToken, {polling:true});

when i export the variable myCoolBot and use it in my other file like this

eightBallBot = myCoolBot;

i get TypeError: Cannot read property 'onText' of undefined


When i look into the debugger i see that let myCoolBot = new TelegramBot(botToken, {polling:true}); is undefined.

How can i define it to something that isnt undefined or null ?

Message permanent page