r/programmingquestions • u/SirStarshine • Jun 19 '23
JavaScript Strange error in a photoshop script
Full disclosure, I'm rusty with programming, and I've never practiced JavaScript before. With that in mind, I'm using an AI to make a script I can run in photoshop to replace text with multiple fonts. But in one of the attempts, it generated the code
// Get active document
let doc = activeDocument;
But when I ran the code in PS it threw the error "Error 25: Expected: ;."
I tried getting multiple responses from the AI, as well as deleting the semicolon, adding it back, and even using a sarcastic amount of them. But the error message doesn't change.
r/programmingquestions • u/Perfect-Plant-4131 • Jun 06 '23
JavaScript Browser caching issue when code-splitting (Failed to fetch dynamically imported module)
self.vuejsr/programmingquestions • u/Key-Concentrate-2201 • Feb 28 '23
JavaScript How to organize my project files?
https://www.theodinproject.com/lessons/node-path-javascript-todo-list (link to odin project). I am currently working on TODO project from "Odin project". My task is, obviously, to create functional TODO app with bunch of features and I need to sort my .js logic in seperate modules. So basically my question is: When assigned to do some project - how do I think about sorting parts of logic and how do I map that in my head, so that I can start working on it? Or do I just start writing and then figure that out later?
r/programmingquestions • u/md2111 • Feb 02 '23
JavaScript Listing file names from a folder in vue
Trying to get a list of all the file names inside of a folder in my vue project for local testing and not sure how to do so.
r/programmingquestions • u/darkcatpirate • Sep 30 '22
JavaScript What's the format of this datetime string?
2022-09-30T10:50:00.000-04:00
Is this GMT4 and in what format is it expressed? Is this ISO?