Javascript-ish Questions | Sololearn: Learn to code for FREE!

+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?

10/29/2020 9:28:48 PM

Dustin 🇺🇸

3 Answers

New Answer

+8

Maybe libraries is the word?

+7

1) "hello world".split(" ") // returns [ "hello", "world" ] 2) idk, but ive heard a little about Brython, check it out.

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