Skip to content

Instantly share code, notes, and snippets.

View JuanmeGarcia's full-sized avatar
🎯
Focusing

Juan Garcia Carballo JuanmeGarcia

🎯
Focusing
View GitHub Profile
function quickSort(nums) {
if (nums.length <= 1) return nums;
const pivot = nums[nums.length - 1];
const left = [];
const right = [];
for (let i = 0; i < nums.length - 1; i++) {
if (nums[i] < pivot) {
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
@JuanmeGarcia
JuanmeGarcia / .babelrc
Created October 16, 2022 18:12 — forked from andrewmunro/.babelrc
Sequelize cli with ES6
{
"presets": ["es2015"],
"plugins": [
"add-module-exports"
],
}