hey so idk anything about js so pls bare with me
so im working on a website and there is like a let list
let example=[
'whatever1',
'whatever2',
'whatever3',
];
now what if i want to include a ' or a , in my whatever1 for example
it fucks it up
any way around it
sorry if i sound like an idiot idk anything about js
01 July, 2022 - 07:52 PM(This post was last modified: 01 July, 2022 - 07:55 PM by Summer. Edited 1 time in total.
Edit Reason: added photo
)
Reply
(30 June, 2022 - 08:38 PM)Komandow Wrote: Show More
hey so idk anything about js so pls bare with me
so im working on a website and there is like a let list
let example=[
'whatever1',
'whatever2',
'whatever3',
];
now what if i want to include a ' or a , in my whatever1 for example
it fucks it up
any way around it
sorry if i sound like an idiot idk anything about js
Np bro, So from what I understood of what you asked you could do something like this if you can get a random whatever
Code:
let example=[
'whatever1',
'whatever2',
'whatever3'
(30 June, 2022 - 08:38 PM)Komandow Wrote: Show More
hey so idk anything about js so pls bare with me
so im working on a website and there is like a let list
let example=[
'whatever1',
'whatever2',
'whatever3',
];
now what if i want to include a ' or a , in my whatever1 for example
it fucks it up
any way around it
sorry if i sound like an idiot idk anything about js
Np bro, So from what I understood of what you asked you could do something like this if you can get a random whatever
Code:
let example=[
'whatever1',
'whatever2',
'whatever3'
(30 June, 2022 - 08:38 PM)Komandow Wrote: Show More
hey so idk anything about js so pls bare with me
so im working on a website and there is like a let list
let example=[
'whatever1',
'whatever2',
'whatever3',
];
now what if i want to include a ' or a , in my whatever1 for example
it fucks it up
any way around it
sorry if i sound like an idiot idk anything about js
Np bro, So from what I understood of what you asked you could do something like this if you can get a random whatever
Code:
let example=[
'whatever1',
'whatever2',
'whatever3'
(30 June, 2022 - 08:38 PM)Komandow Wrote: Show More
hey so idk anything about js so pls bare with me
so im working on a website and there is like a let list
let example=[
'whatever1',
'whatever2',
'whatever3',
];
now what if i want to include a ' or a , in my whatever1 for example
it fucks it up
any way around it
sorry if i sound like an idiot idk anything about js
Np bro, So from what I understood of what you asked you could do something like this if you can get a random whatever
Code:
let example=[
'whatever1',
'whatever2',
'whatever3'