python-vs-javascript icon indicating copy to clipboard operation
python-vs-javascript copied to clipboard

Results 8 python-vs-javascript issues
Sort by recently updated
recently updated
newest added

## Changes I made * Added Math.random to the math section * Re-sequences the Q0X class to start from Q01 to Q63 (it was from Q01 to Q62) * Q03...

I feel that if we use the python dict comprehension one liner the equivalent JS one liner should be used as well ```js const newDict = Object.entries(originalDict).reduce(newDict, ([key, value]) =>...

As an example, I take this one ```javascript const someDict = { one: 1, two: 2, three: 3 } // one 1 // two 2 // three 3 Object.entries(someDict).forEach(element =>...

Currently, the example of JS looks more verbose than the Python ```javascript const list1 = [1, 3, 5] const list2 = [2, 4, 6] // [[1, 2], [3, 4], [5,...

I really like your initiative to create this guide - I thought it might be nice to break up the index page into individual lessons using VueJS so that a...

https://github.com/sayazamurai/python-vs-javascript/blob/444a7ab88e0c131b95f01677af22f3ad2b8d038f/index.html#L1267-L1275 In python there is an easier way to multiple each element in list: ```python3 original_list = [1, 2, 3] new_list = list(map(lambda x: x * 2, original_list)) for x...