Variable equals another variable and then equals another variable
In JavaScript (and PHP, too), you can save a few lines of code by assigning multiple variables at once. In this example, the function wp.media() is called and immediately assigned to wp.media.frames.file_frame. The author wanted to use the same value for mediaUploader so they added it in the same assignment statement. Another way to look … Read more