Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Say you want to copy everything inside Function someFunction():
- ```js
- function someFunction() {
- const DIEP_CENTRAL = () => {
- for (let i = 0; i < bot.guild.length; i++) {
- if (bot.guilds[0] === '325817034036215818') {
- return bot.guilds[1];
- }
- }
- };
- }
- ```
- and paste it into Object x.y.z
- ```js
- let x = {
- y: {
- z: {
- }
- }
- }
- ```
- This produces the following:
- ```js
- let x = {
- y: {
- z: {
- const DIEP_CENTRAL = () => {
- for (let i = 0; i < bot.guild.length; i++) {
- if (bot.guilds[0] === '325817034036215818') {
- return bot.guilds[1];
- }
- }
- };
- }
- }
- }```
- and you are forced to indent it manually. I tested this using 2 spaces as well: it didn't fix the problem.
- Tested in Editey.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement