« first day (4240 days earlier)      last day (707 days later) » 

5:09 AM
@RaviJoshi what does "class instance of JavaScript" mean?
 
 
4 hours later…
9:37 AM
posted on May 26, 2022 by Ben Mason

Hi everyone! We've just released Chrome Beta 103 (103.0.5060.22) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Krishna Govind Google Chrome

 
 
2 hours later…
11:59 AM
Are block scoped variables processed during compile time in JavaScript?
 
There is conceptually no compile time in JavaScript. Some engines might employ compilers as part of processing the code but that's an implementation detail.
 
|| mdn Element.insertAdjacentHTML()
 
12:41 PM
@OlegValteriswithUkraine sorry. That is not written correctly. I meant the instance of a class in JavaScript. For example, let say StackOverflow uses a JavaScript having a class say ChatApplication. Is is possible to access the instance of this class in Chrome browser?
 
@RaviJoshi Chrome as in where, devtools or content scripts? If so, then the answer would be "it depends". Many variables are in play: are those instances exposed at all, are they set as properties on the global object, is the script a module, etc, etc
 
 
3 hours later…
3:16 PM
so google calendar uses alert() for notifications
that's horrible for so many reasons
 
meh
 
 
1 hour later…
4:19 PM
posted on May 26, 2022 by Ben Mason

Hi everyone! We've just released Chrome Dev 104 (104.0.5082.0) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Erhu Akpobaro Google Chrome

 
Sir, in mdn I found something which says, "sometimes function declaration turns into function expression when the function declaration becomes part of an expression or if is no longer a source element of a function or the script itself." Will u clarify it?

And here is the example:
If (true){
function boo(){
//Is boo a function expression?
  function blah(){
    // Is blah Function declaration or expression?
  }
}
 
don't ping random users unless the message is related to the message
 
both boo() and blah() are declarations.
Functions put in statement context are statements and thus just declaratins. If they are in expression context, they are parsed as expressions. Expression context is, for example a = <here> or if (<here>) etc. Any piece of code that expects a value would expect an expression. One way to force expression parsing on a function is to use brackets ()
function foo() {}   // declaration
(function bar() {}) // expression
 
@VLAZ Sir, here if u see, mdn says boo like function is function expression. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
 
4:37 PM
That seems to be wrong:
||> function foo() {         // source element
   var y = 0;           // source element
   function bar() {}     // source element
   while (y < 3) {    // source element
      function blah() { console.log("hi")}; // not a source element
      y++;               // not a source element
     blah();   //test
   }
}

foo();
 
@VLAZ undefined Logged: [ '"hi"', '"hi"', '"hi"' ] Took: 0ms
@VLAZ Please don't post unformatted code - use the up arrow to edit your post, then hit Ctrl + K to format the code in that post. See the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@VLAZ undefined Logged: [ '"hi"', '"hi"', '"hi"' ] Took: 1ms
 
Added a console.log to the blah() function which should be an expression and it still acts as a declaration, creating a binding.
Same here:
||> var x = 0;               // source element
if (x === 0) {           // source element
   x = 10;               // not a source element
   function boo() { console.log("hello"); }     // not a source element

  boo();
}
 
@VLAZ undefined Logged: [ '"hello"' ] Took: 0ms
 
Function expressions do not form bindings. So, I don't see how the article is correct. Example:
||> function foo() { console.log("hello"); }   // declaration
(function bar() { console.log("world"); }) // expression

foo();
bar();
 
@VLAZ 'ReferenceError: bar is not defined' Logged: [ '"hello"' ] Took: 0ms
 
4:42 PM
bar() is not callable. foo() is
 
5:05 PM
congratulations on the title from Her Majesty, @VLAZ, btw :)
 
I had to duel her, you know. The light tapping on the shoulders with the sword is only if you survive.
 
I am surprized you survived!
 
I lost a few legs in the process.
 
I thought the footage wasn't going to be released.
 
5:14 PM
oh, silly you, don't you know the royal family controls the media?
 
Hello
What's your recommendation for Gas stations API ?
because it's really difficult to use here.com
and very very complicated process to fetch data
 
 
1 hour later…
6:44 PM
fetching data is easy
 
But it's complicated to setup
 
fetch(...)
 
I know
but it's impossible to setup API
 
lol
 
Do you have experience with here . developer . com ?
 
6:50 PM
No, but i have quite a bit of experience connecting to and authenticating with APIs
many require a form of handshake to ensure your access key has the authority to act on a user's behalf
 
7:01 PM
posted on May 26, 2022 by Daniel Gagnon

The Beta channel is being updated to 103.0.5060.22 (Platform version: 14816.25.0) for most ChromeOS devices. This build contains a number of bug fixes and security updates. Systems will be receiving updates over the next several days. If you find new issues, please let us know by vising our forum or filing a bug. Interested in switching channels? Find out how. Yo

 
7:16 PM
I miss the days when you just put a username and password in the query string. :) Of course that is not secure.
 
when were those days
 
E.g. Google now discourages you from using IMAP to access your Gmail, which uses simple username/password authentication.
They consider it to be a "less secure app", and you have to enable a setting in your account settings to enable it.
 
Ah. Yeah, it promotes their own email app.
But I guess it's also good security
 
I think the reason why they consider it to be insecure is because it bypasses MFA.
But yeah, that too
 
 
2 hours later…
9:01 PM
posted on May 26, 2022 by Srinivas Sista

The Dev channel has been updated to 104.0.5083.0 for Windows, Mac and Linux. A partial list of changes is available in the log. Interested in switching release channels? Find out how. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. SrinivasSista Google Chrome 

 
9:19 PM
posted on May 26, 2022 by Prudhvikumar Bommana

  The Chrome team is excited to announce the promotion of Chrome 103 to the Beta channel for Windows, Mac and Linux. Chrome 103.0.5060.24 contains our usual under-the-hood performance and stability tweaks, but there are also some cool new features to explore - please head to the Chromium blog to learn more! A full list of changes in this build is available in the log. Interested i

 

« first day (4240 days earlier)      last day (707 days later) »