« first day (2834 days earlier)      last day (1255 days later) » 

 
2 hours later…
1:27 PM
for (let i =0;i<this.productsListInformation.length;i++){
console.log(this.productsListInformation[i].name);
this.strProductNameCart = this.productsListInformation[i].name;


if (this.productsListInformation && this.productsListInformation.length) {
// not empty
alert('not empty')
} else {
// empty
alert('empty')
}


// console.log('Tushar ' + this.strProductNameCart);
}
 
1 message moved from JavaScript
 
hi
 
 
2 hours later…
 
1 hour later…
Max
4:34 PM
Hello, I'm trying to access to the data (which is a DataFrame) where libelle_français is a null value. I guess it's something like that. But I can't find how. Maybe someone could help me. I'm sure it's a dumb question


Thanks
data[data.libelle_francais=='']
 
 
1 hour later…
5:37 PM
@E_net4flagscomments really tempted to move this to the trash can for the lulz
 
1 message moved from Rust
 
 
2 hours later…
 
2 hours later…
9:25 PM
This is run from my client

GetJSON(url.code).then(httpResponse => {console.log(httpResponse, 'fetch json')})


and this is run from my server

export function GetJSON (URLCode){

fetch( "https://accounts.google.com/o/oauth2/token", {
"method": "post",
"headers": {
"Content-Type": 'application/x-www-form-urlencoded'
},
'body' : JSON.stringify({
'grant_type': 'authorization_code',
'code': URLCode,
'client_id': 'XXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com',
'client_secret': 'XXXXXXXXXXXXXXXXXX',
 
1 message moved from JavaScript
 

« first day (2834 days earlier)      last day (1255 days later) »