If there are some others who want to offload a site and are pulling in at least 1000 unique visitors per month, you can talk to me. Bonus points for any of these: being a tool site, not requiring a database, being written in JavaScript/TypeScript/C#, or made using static site gen.
Ben Maddox’s Post
More Relevant Posts
-
As one of several questions on a javascript screen, how reasonable is it to show the following and expect answer in 30 seconds or so with no code tools, just reading and understanding the code as written? Too much, too little, irrelevant; feedback welcome. What value is written to the console from the following? const array = [1, 3, 6, 8]; const result = array .map(x => x * 2) .filter(x => x > 10) .reduce((a, v) => a + v, 0); console.log(result);
To view or add a comment, sign in
-
Ram Ram Sara ne! Today, I learned about "Browser Object Model" BOM - Browser Object Model - represents browser's functionalities - set of features Some features are 1. Window Object 2. Navigator Object 3. Screen/History/URL Bar Runtime Environment for JavaScript - software which provide environment to execute JavaScript Code - Browser - NodeJS - DinoJS - BunJS Window - It is an Object - collection of features, functions - window.alert("Hey); --> run on console - window.location - window.location.reload(); -> reload the page - window.screen -> to know about height and width of the screen - window.location.assign("url"); -> to redirect to a specific url - navigator.geolocation.getCurrentPosition(); -> gets current lattitude and longitude coordinates Like this, we have objects to access mic and camera also.
To view or add a comment, sign in
-
A **closure** in JavaScript is when an inner function has access to the outer function’s variables, even after the outer function has finished running. This allows the inner function to "remember" and use those variables later. ### Simple Example: ```javascript function outer() { let count = 0; return function inner() { count++; console.log(count); }; } const counter = outer(); counter(); // 1 counter(); // 2 ``` Here, `inner` is a closure because it keeps access to `count` from the `outer` function, even after `outer` is done executing. **Closures** are useful for creating private variables and maintaining state in your functions.
To view or add a comment, sign in
-
JAVASCRIPT FUNCTION THAT CAPITALIZE THE FIRST LETTER OF A STRING function capitalizeFirstLetter(str) { return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase(); } const name = "john Doe"; const newName = capitalizeFirstLetter(name); console.log(newName); // Output: John Doe
To view or add a comment, sign in
-
solve this javascript question:- comment your answer const user={ age:"23" }; function confusion(){ if(user.age=="23"){ return user.age ="adult"; } if(user.age=="adult"){ return user.age ="23"; } } console.log(user.age);
To view or add a comment, sign in
-
Variables are the containers that hold our data. 📦 In JavaScript, there are 3 different ways available to declare variables. 🫙 1) var 😎 2) let 👶 3) const 🛡️ Check out my carousel to learn more about them 👇👇👇 Let me know your thoughts in the comments. ❤️
To view or add a comment, sign in
-
📚 Excited to share my latest Medium blog post! In this piece, I delve into Non-Primittive Datatype in Javascript, necessary things to learn and how we can work with it. I believe there's something valuable here for everyone. Check it out and let me know your thoughts in the comments! #blogging #writingcommunity #javascript Feel free to share you suggestions and comments below 😀 !
To view or add a comment, sign in
-
💡 Tip (Typescript/Javascript): Filtering Arrays - Simplified! - Stop using extra boilerplate for filtering truthy values. Embrace the clean and modern way!
To view or add a comment, sign in
-
💡Javascript tip! Using the reduce() method to get the array of averages of numbers at each index for the nested arrays of numbers. Here's how:👇
To view or add a comment, sign in