tulip-0333 / python.js Goto Github PK
View Code? Open in Web Editor NEWMade JavaScript look like Python
Made JavaScript look like Python
Hello, @Tulip-0333. If I run in the node.js environment and I use the require statement to export, it shows that reverse is not defined. Later I found that there is no need to export reverse in module.exports because if you export it in String A method is added to .prototype, such as reverse, and you want to export this method through module.exports. It should be noted that the method on String.prototype is global. Once added, all string instances can access this method. So there is no need to export it anymore unless you name it as a new function as a separate module, and the input statement is not right. I didn’t input it, so it just printed out the subsequent output, and then asked me to do it again. Enter, request enhancements and features.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.