Filter
Exclude
Time range
-
Near
Google SheetsとGASでFlash自動処理ループを作る(3/4) Sheetsの列Aにタスクを書き込むだけで Flashが自動で処理して列Bに結果を書く。 GASに貼るだけで動くコード:▼ javascriptfunction runFlashBatch() { const sheet = SpreadsheetApp.getActiveSheet(); const apiKey = 'YOUR_API_KEY'; const rows = sheet.getLastRow(); for (let i = 2; i <= rows; i ) { const input = sheet.getRange(i, 1).getValue(); if (!input) continue; const res = UrlFetchApp.fetch( 'generativelanguage.googleapi…' apiKey, { method: 'post', contentType: 'application/json', payload: JSON.stringify({ contents: [{ parts: [{ text: input }] }] }) } ); const json = JSON.parse(res.getContentText()); const output = json.candidates[0].content.parts[0].text; sheet.getRange(i, 2).setValue(output); } } ----------------------- 100件のタスクを一括処理。 人間がやれば1時間→Flashで3分。

1
2
8
2,524
JavaScriptの関数、こう考えたら 一瞬で理解できたわ 関数 = 自動販売機 引数 = お金 戻り値 = 商品 javascriptfunction 自販機(お金) { return "ジュース"; } なんか勉強てかゲーム化すると おもろいんだな すぐつまんなく考えちゃうの脳みそだったけど アウトプットすぐ出すって決めてから おもろいもんな🔥
1
21
1,184
🚀 Day 67 of #100DaysofCode: - Solved One LeetCode problem. - Revisited function concepts in JavaScript. #LeetCodeVictory #JavaScriptFunction #CodeJourney
4
39
Do you know the varieties of functions in JavaScript? #javascriptfunction #skywinITacademy #itcourse #itacademy #itinstitute #surat
12
19 Feb 2023
Good Morning! The only command I would add to this #javascriptfunction is coffee.🧐 const repeat = new Object(); repeat.object = "coffee"; #100DaysOfCode #100daysofcoding

ALT Code Coding GIF

30
That moment you need to commit changes to Github but you pushed before you pulled #html5 #javascript #webdevelopment #javascriptfunctions #javascriptfunction #github #webdevmeme #techmemes #techtwitter

ALT Bored Season 5 GIF by The Office

1
4
Because all of these actions can group as brushing, then it is very okay to say that BRUSHING is a function. In #javaScriptFunction, we create a function with the following syntax: Example 1: function nameOfTheFunction() { statement; } nameOfTheFunction();
1
How to extract numbers (integers) from a string using a function. Javascript { by @CoderGillick } from @hashnode #javascript #learncoding #webdevelopment #arrayjavascript-array-methods-map-filter-foreach #javascriptfunction davidgillick.hashnode.dev/ho…

Replying to @NyaknoAndrew4
This thread is saved to your Notion database. Tags: [Javascriptfunction]
O que é .jsf nas urls de um site? Quer dizer JavaScriptFunction?
2
1
A higher-order function is a function that either takes a function as one of its parameters or returns a function (or both.) #javascriptgrammar #javascript #coding #higherorderfunction #javascriptfunction
2
3