Javascript-ish Questions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Javascript-ish Questions

1. What is the equivalent of var.split() in JavaScript? I might have missed that. (In Python, that would split the value of var (if var is a string) into words.) 2. I know you can use different types of JavaScript and stuff using the script tag. Is there a way to add Python into a web page using a script tag?

29th Oct 2020, 9:28 PM
Dustin 🇺🇸
3 Answers
+ 8
Maybe libraries is the word?
29th Oct 2020, 11:47 PM
Dustin 🇺🇸
+ 7
1) "hello world".split(" ") // returns [ "hello", "world" ] 2) idk, but ive heard a little about Brython, check it out.
29th Oct 2020, 9:47 PM
maf
maf - avatar
0
2. I wrote the code that does right what you need a few days ago (not advertising): https://code.sololearn.com/Wq0mDain5UmV/?ref=app
20th Mar 2021, 12:44 PM
#0009e7 [get]
#0009e7 [get] - avatar