Try typing this: ``` a [ b ] ``` without spaces. Everything within the brackets gets deleted, which messes up markdown code when you're accessing an element in an array.
A
Magic So if i put myself between those spaces
$$\begin{align*} \color{green}{a}\color{blue}{[}\color{blue}{b}\color{blue}{]} \end{align*}$$
I think that's what you want.
Yes it is, but without using latex
with color and no latex?
just text or code markdown
Okay
The main problem is if I'm trying to write this: ```javascript var array = [a,b,c]; for(let i=0;i<array.lengthi++){ array = 5; //array[ i ] = 5; } ``` As you can see array = 5 would not work here since it was supposed to be array[ I ] = 5
Is this what you're trying to do: |dw:1570936758879:dw|
``` var array = [a,b,c]; for(let i=0;i<array.lengthi++){ array[ i ] = 5; } ```
I don't understand what you're trying to do
a[ b]
closest I could get
okay I guess I just need to add spaces
Join our real-time social learning platform and learn together with your friends!